You are here : python_3Built-in Functionsid

id() - Built-in Functions

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

id(object)


Example


Output / Return Value


Limitations


Alternatives / See Also


Reference