Re:WTFPython: Exploring and understanding Python through sur...
by edflsafoiewq on Tuesday May 31, 2022 @06:58AM
(#31568109)
obj.b += (2,) creates obj.b too, it's just that obj.b still points to the same object as A.b.
[ Parent
| on HN ]
There are no comments on this comment yet.