diff options
author | Raymond Hettinger <rhettinger@users.noreply.github.com> | 2019-08-24 18:15:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-24 18:15:44 (GMT) |
commit | 69ee87e99cfe0b79389cffa92d126af868baf353 (patch) | |
tree | 61bdcbba7bc6badbec4679ba1ebea2f1c905ba41 /Doc/tutorial | |
parent | fa7a6f5e355f69452682f1beba66bd1ac7fef79a (diff) | |
download | cpython-69ee87e99cfe0b79389cffa92d126af868baf353.zip cpython-69ee87e99cfe0b79389cffa92d126af868baf353.tar.gz cpython-69ee87e99cfe0b79389cffa92d126af868baf353.tar.bz2 |
bpo-14112: Allow beginners to explore shallowness in greater depth ;-) (GH-15465)
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/introduction.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index a4dbd63..2a16661 100644 --- a/Doc/tutorial/introduction.rst +++ b/Doc/tutorial/introduction.rst @@ -394,7 +394,8 @@ indexed and sliced:: [9, 16, 25] 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:: +means that the following slice returns a +:ref:`shallow copy <shallow_vs_deep_copy>` of the list:: >>> squares[:] [1, 4, 9, 16, 25] |