7 lines
414 B
Plaintext
7 lines
414 B
Plaintext
=== on 15 May 2014, 13:55:35 Pierre-Yves Nicolas wrote:
|
|
In Python 2.x, a class is an old-style class if it does not subclass a new-style class. If a class subclasses another class, we should check recursively whether the superclass is a new-style class. If a class does not subclass any class, we know for sure that it is an old-style class.
|
|
|
|
|
|
See \https://docs.python.org/2/whatsnew/2.2.html#old-and-new-classes
|
|
|