Syntax of Python object()
For versions of Python 3.x, the default situation. The base class for all classes, including user-defined ones, is the Python object class. As a result, in Python, all classes inherit from the Object class.
Syntax : obj = object()
Parameters : None
Returns : Object of featureless class. Acts as base for all object
Python object() method
The Python object() function returns the empty object, and the Python object takes no parameters.