summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-07-08 15:53:32 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-07-08 15:53:32 (GMT)
commitd95bb3f981a2fc6a9637fa84a85cb06ec978860a (patch)
treee3970dc8c13883c28e2f71eaa9d0615506d4dda5 /Doc
parentbf5af5d5bc40db83464d1a04ddb765199245bf10 (diff)
parent93dd6934ff93510a81bb52a88b522b91401cfb76 (diff)
downloadcpython-d95bb3f981a2fc6a9637fa84a85cb06ec978860a.zip
cpython-d95bb3f981a2fc6a9637fa84a85cb06ec978860a.tar.gz
cpython-d95bb3f981a2fc6a9637fa84a85cb06ec978860a.tar.bz2
#18403: merge with 3.3.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tutorial/introduction.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst
index 36ede2b..4101cdc 100644
--- a/Doc/tutorial/introduction.rst
+++ b/Doc/tutorial/introduction.rst
@@ -262,7 +262,7 @@ to obtain individual characters, *slicing* allows you to obtain substring::
>>> word[0:2] # characters from position 0 (included) to 2 (excluded)
'Py'
- >>> word[2:5] # characters from position 2 (included) to 4 (excluded)
+ >>> word[2:5] # characters from position 2 (included) to 5 (excluded)
'tho'
Note how the start is always included, and the end always excluded. This