Re: Get a method instance through 'getattr' but not superclass's method

2010-04-03 Thread Radhakrishna Bhat
Genellina gagsl-...@yahoo.com.arwrote: En Thu, 11 Mar 2010 01:47:30 -0300, Radhakrishna Bhat radhakrishn...@gmail.com escribió: 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? You may

Re: Get a method instance through 'getattr' but not superclass's method

2010-03-11 Thread Radhakrishna Bhat
. -Radhakrishna On Thu, Mar 11, 2010 at 6:12 PM, Steve Holden st...@holdenweb.com wrote: Radhakrishna Bhat wrote: 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? You could try, if x

Get a method instance through 'getattr' but not superclass's method

2010-03-10 Thread Radhakrishna Bhat
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