Overwrite entire object in place
<pre><code>x = something_mutable
y = x
z = x

# sometime later make z reference something else, e.g. a list
my_list = [1, 2, 3]

# how to make x, y, z to reference my_list without using x and y explicitly
???
</code></pre>

<p>Is it possible? Not really going to use it, but curious.</p>

<p>Related question. How to erase the entire list/dictionary content and copy in place the entire content of another list/dictionary. I know how to do it, but curious how gurus would do it. Python is big and I just started learning it (trying hard no to code C in Python :)).</p>

<p>Thanks.</p>
