Making Classes Subclassable

Michael Selik michael.selik at gmail.com
Tue Jul 5 01:26:29 EDT 2016


On Mon, Jul 4, 2016, 4:36 AM Lawrence D’Oliveiro <lawrencedo99 at gmail.com>
wrote:

> On Monday, July 4, 2016 at 7:58:07 PM UTC+12, dieter wrote:
> > --> "type(obj)" or "obj.__class__" (there are small differences)
> > give you the type/class of "obj".
>
> When would it not be the same?
>

Old-style classes.

>



More information about the Python-list mailing list