What is object identity?
Variables, references, and memory model
Audio flashcard · 0:13Nortren·
What is object identity?
0:13
Object identity is a unique integer that identifies an object during its lifetime in memory. You can retrieve it with the id function. In CPython, identity is the memory address of the object. Two variables refer to the same object if and only if their identities are equal.
docs.python.org