3 ms·
The article's reference to "classobj" is wrong for Python 3 (that was the type of old-style classes in Python 2). In Python 3: >>> class SomeClass: ...
by pdonis 4y ago
The article's reference to "classobj" is wrong for Python 3 (that was the type of old-style classes in Python 2). In Python 3:
>>> class SomeClass:
... pass
...
>>> type(SomeClass)
<class 'type'>
- iamcreasy 4y agoThanks for pointing it out