From d4f5c1436be9b965d3e9a82cd43783a1fbed4114 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Wed, 17 Dec 2014 14:59:33 +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 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 -- 2.50.1