diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-07-08 15:53:32 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-07-08 15:53:32 (GMT) |
commit | d95bb3f981a2fc6a9637fa84a85cb06ec978860a (patch) | |
tree | e3970dc8c13883c28e2f71eaa9d0615506d4dda5 /Doc/tutorial | |
parent | bf5af5d5bc40db83464d1a04ddb765199245bf10 (diff) | |
parent | 93dd6934ff93510a81bb52a88b522b91401cfb76 (diff) | |
download | cpython-d95bb3f981a2fc6a9637fa84a85cb06ec978860a.zip cpython-d95bb3f981a2fc6a9637fa84a85cb06ec978860a.tar.gz cpython-d95bb3f981a2fc6a9637fa84a85cb06ec978860a.tar.bz2 |
#18403: merge with 3.3.
Diffstat (limited to 'Doc/tutorial')
-rw-r--r-- | Doc/tutorial/introduction.rst | 2 |
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 |