[Python-ideas] Redefining method

Jamesie Pic jpic at yourlabs.org
Mon Jul 30 11:15:31 EDT 2018


Hi all,

Not sure if this subject has been brought up already, but why can't we
redefine methods as such for example:

c = MyClass
o = c()

def c.foo(cls): ...
def o.bar(self): ...

Thanks in advance for sharing some of your insight

-- 
∞
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20180730/b9575f80/attachment.html>


More information about the Python-ideas mailing list