Conceptual

Python lists contain pointers not objects

In the domain of computer science and programming language semantics, Python data structures operate on a reference semantics model where containers store pointers (or references) to objects rather than the objects themselves. This mechanism implies that a data structure does not contain the value directly but maintains a relationship to the object in memory, allowing multiple structures or variables to reference the same underlying object instance. Consequently, mutations to an object accessed via these pointers affect all references pointing to that specific object, distinguishing Python's memory management from models based on value containment.