how to find out the father class?

emile at fenx.com emile at fenx.com
Mon May 22 10:10:42 EDT 2000


>>> class A:
	pass

>>> class B(A):
	pass

>>> B.__bases__
(<class __main__.A at fc03f0>,)

Emile van Sebille
emile at fenx.com
------
<moonseeker at my-deja.com> wrote in message
news:<8gbdou$sd3$1 at nnrp1.deja.com>...
> Hi!
> 
> How can I find out the father class of a given class?
> 
> Regards,
> Mike
> 
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.
> -- 
> http://www.python.org/mailman/listinfo/python-list
>




More information about the Python-list mailing list