[docs] reversing the meaning of shallow and deep copy??

Mallika Bachan mallika.bachan at gmail.com
Sat Sep 10 15:22:15 EDT 2016


“All slice operations return a new list containing the requested elements.
This means that the following slice returns a new (shallow) copy of the
list:”

Ref: https://docs.python.org/2/tutorial/introduction.html



Why say (shallow), a **new** list means it is a **deep** copy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20160910/61f1a5bf/attachment.html>


More information about the docs mailing list