Skip to content

Assign variables/methods after class creation impossible #68

@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