ID EN
Built-in Functions

id

Python 3.11

Return the “identity” of an object. This is an integer which is guaranteed to be unique and constant for this object during its lifetime. Two objects with non-overlapping lifetimes may have the same id() value.

Syntax

PYTHON
id(object)

See Also

id() auditing event