chrivers / chrivers/pyjaco

Assign variables/methods after class creation impossible

Open
#68 1 comment 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.