summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-12-17 12:59:33 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-12-17 12:59:33 (GMT)
commitd4f5c1436be9b965d3e9a82cd43783a1fbed4114 (patch)
tree2539247d122eb1a53d32700d2bde51fe3e6f73e9 /Doc/tutorial
parent16e093db989f112353fc7c244ef549f279934c21 (diff)
downloadcpython-d4f5c1436be9b965d3e9a82cd43783a1fbed4114.zip
cpython-d4f5c1436be9b965d3e9a82cd43783a1fbed4114.tar.gz
cpython-d4f5c1436be9b965d3e9a82cd43783a1fbed4114.tar.bz2
Issue #23070: Fix a comment in the tutorial.
"Python" has 6 characters, not 7. Reported by Ross Burnett.
Diffstat (limited to 'Doc/tutorial')
-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 d30b194..4164d49 100644
--- a/Doc/tutorial/introduction.rst
+++ b/Doc/tutorial/introduction.rst
@@ -309,7 +309,7 @@ indices, if both are within bounds. For example, the length of ``word[1:3]`` is
Attempting to use a index that is too large will result in an error::
- >>> word[42] # the word only has 7 characters
+ >>> word[42] # the word only has 6 characters
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
IndexError: string index out of range