From 2338156fa4f8d6c04601f9972c36a7b06bd685bc Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Wed, 17 Dec 2014 14:56:47 +0200 Subject: [PATCH] Issue #23070: Fix a comment in the tutorial. "Python" has 6 characters, not 7. Reported by Ross Burnett. --- Doc/tutorial/introduction.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index 9efd1ac8b07..02f4c0a05b4 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 "", line 1, in IndexError: string index out of range