summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-12-17 12:56:47 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-12-17 12:56:47 (GMT)
commit2338156fa4f8d6c04601f9972c36a7b06bd685bc (patch)
tree6593d378efe718b0f11b8c42c3852593b840c954
parent558dcf38e642afbf7670bad00e3eb7e3d40cc59c (diff)
downloadcpython-2338156fa4f8d6c04601f9972c36a7b06bd685bc.zip
cpython-2338156fa4f8d6c04601f9972c36a7b06bd685bc.tar.gz
cpython-2338156fa4f8d6c04601f9972c36a7b06bd685bc.tar.bz2
Issue #23070: Fix a comment in the tutorial.
"Python" has 6 characters, not 7. Reported by Ross Burnett.
-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 9efd1ac..02f4c0a 100644
--- a/Doc/tutorial/introduction.rst
+++ b/Doc/tutorial/introduction.rst
@@ -305,7 +305,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