Assign variables/methods after class creation impossible
Open
- Dominant language
- Python
- Stars
- 140
- Forks
- 18
- PR merge metrics
- No merged PRs in 30d
Description
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()
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.