Login
From:
www.pythonmorsels.com
(Uncensored)
subscribe
Variables are pointers in Python - Python Morsels
https://www.pythonmorsels.com/variables-are-pointers/
links
backlinks
Roast topics
Find topics
Find it!
Python's variables are not buckets that contain objects; they're pointers. Assignment statements don't copy: they point a variable to a value (and multiple variables can "point" to the same value).