Hi!

My head crashed into this:

>>> class C(object):
   ...:     pass
   ...:
>>>
>>> dir(C)
['__class__', ...]
>>> C.__bases__
(<type 'object'>,)

Why __bases__ does not appear in dir()?

Is there a good reason for this or should I file a bug?

Thanks!

-- 
.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to