Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d4f5c143
Commit
d4f5c143
authored
Dec 17, 2014
by
Berker Peksag
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #23070: Fix a comment in the tutorial.
"Python" has 6 characters, not 7. Reported by Ross Burnett.
parent
16e093db
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Doc/tutorial/introduction.rst
Doc/tutorial/introduction.rst
+1
-1
No files found.
Doc/tutorial/introduction.rst
View file @
d4f5c143
...
@@ -309,7 +309,7 @@ indices, if both are within bounds. For example, the length of ``word[1:3]`` is
...
@@ -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::
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):
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 1, in <module>
IndexError: string index out of range
IndexError: string index out of range
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment