Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
viraptor
· 8y ago · 0 comments
There's a pretty bad mistake at the beginning:
But you can change immutable object:
Appending to a list contained in a tuple does not change the tuple. The immutable object does not change here.
Comments
[–]
rushter
8y ago
Thanks, it's a typo, I was referring to the mutable object (list).
[–]
theduality
8y ago
Also an amusing one: "You can't assing an item to a tuple:"