Dec-18-2018, 01:07 AM
Object refers to the base object class; it serves as the foundation of all objects in Python. In this particular case, this means that the class SomeName inherits from object - it has all the attributes and methods of object.
As I recall, this is the old syntax. Class definition used to require an explicit inheritance of object. In Python 3, you do not need to explicitly reference object.
As I recall, this is the old syntax. Class definition used to require an explicit inheritance of object. In Python 3, you do not need to explicitly reference object.