Slice assignment modifes original list
<p>There is this code:</p>

<pre><code>a = [1, 2, 3, 4, 5]
a[:] = [] # and now a is also empty
</code></pre>

<p>Statement <code>a[:]</code> creates a copy of list <code>a</code> as I read, so if empty list <code>[]</code> is assigned to the copy then why original object is also modified?</p>
