Home >>Python Built-in Functions >Python object() Function
Python object() function is used to return an empty object. We cannot add any new property or method to this object. This object is the base for all classes. It holds the built-in properties and methods which are default for all classes.
Syntax:object()Here is an example of Python object() function:
x = object()
print(dir(x))