Why does list.remove() not behave as one might expect?
<pre><code>from pprint import *

sites = [['a','b','c'],['d','e','f'],[1,2,3]]

pprint(sites)

for site in sites:
        sites.remove(site)

pprint(sites)
</code></pre>

<p>outputs:</p>

<pre><code>[['a', 'b', 'c'], ['d', 'e', 'f'], [1, 2, 3]]
[['d', 'e', 'f']]
</code></pre>

<p>why is it not None, or an empty list [] ?</p>
