Chaz Ginger wrote:
> Steve Holden wrote:
> 
>>[EMAIL PROTECTED] wrote:
>>
>>>Hi,
>>>
>>>I am writing a library in which I need to find the names of methods
>>>which are implemented in a class, rather than inherited from another
>>>class. [...]
> 
> 
> You don't really want to use dir(A), since this will not pick up all the 
>   classes that make up A.  Don't you want to use the MRO instead?
> 
Tell me, what won't appear in the dir() of A that *will* appear in the 
dir() of a subclass of A? Seems to me you're trying to overcomplicate 
things.

regards
  Steve
-- 
Steve Holden       +44 150 684 7255  +1 800 494 3119
Holden Web LLC/Ltd          http://www.holdenweb.com
Skype: holdenweb       http://holdenweb.blogspot.com
Recent Ramblings     http://del.icio.us/steve.holden

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to