From: Berker Peksag Date: Wed, 17 Dec 2014 12:56:47 +0000 (+0200) Subject: Issue #23070: Fix a comment in the tutorial. X-Git-Tag: v3.4.3rc1~210 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2338156fa4f8d6c04601f9972c36a7b06bd685bc;p=thirdparty%2FPython%2Fcpython.git 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 9efd1ac8b073..02f4c0a05b42 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