passing methods/functions

Courageous jkraska1 at san.rr.com
Sun May 7 09:29:48 CEST 2000


Passing around "pointers to functions" is something I intrinsically
understand, but if an instance of an object passes a reference to
one of its methods, how does python keep track of the instance?

When I first tried this, I presumed that I'd be delivering the
self argument upon invocation the hard way. This appears to not
be the case. Very cool. But how's this work?




C/



More information about the Python-list mailing list