Is there way to determine which class a method is bound to?
Roy Smith
roy at panix.com
Fri Feb 25 11:09:14 EST 2005
In article <mailman.3055.1109344955.22381.python-list at python.org>,
Victor Ng <crankycoder at gmail.com> wrote:
>No - that doesn't work, im_class gives me the current class - in the
>case of inheritance, I'd like to get the super class which provides
>'bar'.
Oh my. You said you were doing something evil, but didn't say *how*
evil. What are you trying to do that you need to know this?
More information about the Python-list
mailing list