Let's get rid of unbound methods

June 2013
7:57 a.m.
On 04/06/13 12:43, 探晴 wrote: <nothing> Your email appears to be blank, except for a large chunk of HTML code. Did you have something specific to say other than the subject line? As for unbound methods, Guido's time machine strikes again. They're already gone in Python 3. py> class X: ... def spam(self): ... pass ... py> X.spam <function spam at 0xb7bd2dac> py> X().spam <bound method X.spam of <__main__.X object at 0xb7bd0e0c>> -- Steven
4278
Age (days ago)
4278
Last active (days ago)
1 comments
2 participants
participants (2)
-
Steven D'Aprano
-
探晴