8000 Assign variables/methods after class creation impossible · Issue #68 · chrivers/pyjaco · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Assign variables/methods after class creation impossible #68
Open
@dxlbnl

Description

@dxlbnl

This is not possible yet.
Possible refactoring of the class system is needed

Foo(object): var = "Foo" def bar(): return "Bar" f = Foo() f.bar = lambda self: self.var + "Bar" print f.bar()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0