r/Python • u/fuzz3289 • Feb 28 '13
What's the one code snippet/python trick/etc did you wish you knew when you learned python?
I think this is cool:
import this
259
Upvotes
r/Python • u/fuzz3289 • Feb 28 '13
I think this is cool:
import this
7
u/keis Feb 28 '13
You already pointed out the difference. My local reference points the new list and only my local reference. The problem is when I care about the other references to the list and actually want to change the content.