I am using getattr to get a method instance from a class. But it also returns methods from the superclass. How to detect if an attribute is from superclass?
-Radhakrishna
-- http://mail.python.org/mailman/listinfo/python-list
I am using getattr to get a method instance from a class. But it also returns methods from the superclass. How to detect if an attribute is from superclass?
-Radhakrishna
-- http://mail.python.org/mailman/listinfo/python-list