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

2010-04-03 Thread Radhakrishna Bhat
Thu, 11 Mar 2010 01:47:30 -0300, Radhakrishna Bhat > 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 look it up dir

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

2010-03-11 Thread Radhakrishna Bhat
oblem. -Radhakrishna On Thu, Mar 11, 2010 at 6:12 PM, Steve Holden 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? >

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