9 ms·
> At first, it uses only old-style classes because it doesn't inherits object explicitly. Please explain this further. > usage of Python-3-style syntax, which
by karangoeluw 13y ago
> At first, it uses only old-style classes because it doesn't inherits object explicitly.
Please explain this further.
> usage of Python-3-style syntax, which is also valid in Python 2.7
Will do this
- mapleoin 13y agoSee http://docs.python.org/2/reference/datamodel.html#new-style-and-classic-classes http://docs.python.org/2/reference/datamodel.html#new-style-... for the distinction
- karangoeluw 13y agoAlright. Fixed.