Skip to content

Commit dc6d9bf

Browse files
committed
Issue #23070: Fix a comment in the tutorial.
"Python" has 6 characters, not 7. Reported by Ross Burnett.
2 parents aab74ef + a1d82b8 commit dc6d9bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/tutorial/introduction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ indices, if both are within bounds. For example, the length of ``word[1:3]`` is
305305

306306
Attempting to use a index that is too large will result in an error::
307307

308-
>>> word[42] # the word only has 7 characters
308+
>>> word[42] # the word only has 6 characters
309309
Traceback (most recent call last):
310310
File "<stdin>", line 1, in <module>
311311
IndexError: string index out of range

0 commit comments

Comments
 (0)