3 ms·
You haven't changed anything about the tuple. The holds a reference to a list and will always hold a reference to that list. What you did was modify the underl
by nemothekid 10y ago
You haven't changed anything about the tuple. The holds a reference to a list and will always hold a reference to that list.
What you did was modify the underlying list, the tuple itself is immutable.