In CPython, id
is generally derived from the Py_Object
's pointer value, that is its location in memory.
↧
Answer by Matt Joiner for identifying objects, why does the returned value from id(...) change?
↧