Arg. Silly question!

Courageous jkraska1 at san.rr.com
Sat May 6 07:44:15 EDT 2000


> `isinstance (o, c)' tells you if `o' is an instance of class `c'.
> 
> `issubclass (c, p)' tells you if class `c' is a (direct or indirect)
> subclass of class `p'.


Yes, thanks all (including the plurality of those who mailed me)
for your prompt answers. It was the section of the python documentation
that pointed me to the builtins which was what I really needed. I have
the documentation, but didn't realize that the "library" had such
critical elements (looking through the tutorial and language reference
weren't so revealing).

Thanks again,



C/



More information about the Python-list mailing list