On Fri, Jun 25, 2010 at 11:04 AM, Steve Holden wrote:
> Rich Healey wrote:
>> http://docs.python.org/library/copy.html
>>
>> Just near the bottom it reads:
>>
>> """Shallow copies of dictionaries can be made using dict.copy(), and
>> of list
http://docs.python.org/library/copy.html
Just near the bottom it reads:
"""Shallow copies of dictionaries can be made using dict.copy(), and
of lists by assigning a slice of the entire list, for example,
copied_list = original_list[:]."""
Surely this is a typo? To my understanding, copied_list