Is there way to determine which class a method is bound to?

percivall at gmail.com percivall at gmail.com
Fri Feb 25 13:42:06 EST 2005


Another way is to make a simple metaclass, setting an attribute (like
defining_class, or something) on each function object in the class
dictionary.




More information about the Python-list mailing list