Copy List

Falcolas garrickp at gmail.com
Thu Jul 19 18:21:54 CEST 2007


On Jul 18, 6:56 am, "Rustom Mody" <rustompm... at gmail.com> wrote:
> This is shallow copy
> If you want deep copy then
> from copy import deepcopy

What will a "deep copy" of a list give you that using the slice
notation will not?




More information about the Python-list mailing list