Commit d4f5c143 authored by Berker Peksag's avatar Berker Peksag

Issue #23070: Fix a comment in the tutorial.

"Python" has 6 characters, not 7.

Reported by Ross Burnett.
parent 16e093db
......@@ -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 "<stdin>", line 1, in <module>
IndexError: string index out of range
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment