summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-12-17 12:57:13 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-12-17 12:57:13 (GMT)
commit64c8914048f7a88204995bc675946c761f5f2555 (patch)
treec35d56b9df74697faed6a4a540041222bd11794f /Doc
parent3339f68141066aba266b48c545b62f452908695f (diff)
parent2338156fa4f8d6c04601f9972c36a7b06bd685bc (diff)
downloadcpython-64c8914048f7a88204995bc675946c761f5f2555.zip
cpython-64c8914048f7a88204995bc675946c761f5f2555.tar.gz
cpython-64c8914048f7a88204995bc675946c761f5f2555.tar.bz2
Issue #23070: Fix a comment in the tutorial.
"Python" has 6 characters, not 7. Reported by Ross Burnett.
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 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