Making Classes Subclassable

Lawrence D’Oliveiro lawrencedo99 at gmail.com
Tue Jul 5 03:08:28 EDT 2016


On Tuesday, July 5, 2016 at 5:27:01 PM UTC+12, Michael Selik wrote:
> On Mon, Jul 4, 2016, 4:36 AM Lawrence D’Oliveiro 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.

Which don’t exist any more.



More information about the Python-list mailing list