From: Berker Peksag Date: Wed, 17 Dec 2014 12:59:33 +0000 (+0200) Subject: Issue #23070: Fix a comment in the tutorial. X-Git-Tag: v2.7.10rc1~260 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d4f5c1436be9b965d3e9a82cd43783a1fbed4114;p=python Issue #23070: Fix a comment in the tutorial. "Python" has 6 characters, not 7. Reported by Ross Burnett. --- diff --git a/Doc/tutorial/introduction.rst b/Doc/tutorial/introduction.rst index d30b194141..4164d49c75 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 "", line 1, in IndexError: string index out of range