Skip to content
Built-in Functions

object()

Create a simple base object.

object()

object is the basic parent type for Python classes.

Calling object() makes a plain object with no custom data or behaviour.

Returns

A new plain object.

Try it

Run it and change it
item = object()
print(type(item) is object)

Related entries