class vs type

Gabriel Genellina gagsl-py2 at
Sat Oct 20 01:45:19 CEST 2007

En Fri, 19 Oct 2007 20:14:03 -0300, Colin J. Williams <cjw at>  

> The Python 3.0 doc, under Class, has:

> Programmer’s note: Variables defined in [...]
> For new-style classes, descriptors can
> be used to create instance variables
> with different implementation details.
> Presumably, it is intended that every
> class implicitly inherits from object?

For Python 3.0, yes. Where did you read the above text? The 3.0 docs at
are already updated and don't menction "new-style classes" at all.

Gabriel Genellina

More information about the Python-list mailing list