Is there any reason why this syntax wouldn't be possible?
def myclass.method(self):
pass
Instead, python currently uses assignment, such as:
def f(self):
pass
myclass.method = f
Is there any reason why this syntax wouldn't be possible?
def myclass.method(self):
pass
Instead, python currently uses assignment, such as:
def f(self):
pass
myclass.method = f