class MyClass: def myMethod(self): pass myInstance = MyClass() methodReference = myInstance.myMethod
Now can you get a reference to <
Try this:
methodReference.im_self
If you are using Python 3:
methodReference.__self__