Finding a class' superclasses

Hallvard B Furuseth h.b.furuseth at usit.uio.no
Mon Aug 23 20:35:54 CEST 2004


Michael Hudson wrote:
>Hallvard B Furuseth <h.b.furuseth at usit.uio.no> writes:
>> How do I find a class' immediate superclasses?
>> (...)
> 
> D.__bases__?

Aah.  Thanks.  And now that I know what to look for, I see it right
where it's supposed to be and where I didn't see it last time in the
Python reference:-)

-- 
Hallvard



More information about the Python-list mailing list