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
114a1d63
Commit
114a1d63
authored
Jan 03, 2016
by
Senthil Kumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue24898 - Improve str.find documentation.
Simplify str.find explaination as per Georg Brandl's suggestion.
parent
a8808003
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
Doc/library/stdtypes.rst
Doc/library/stdtypes.rst
+3
-4
No files found.
Doc/library/stdtypes.rst
View file @
114a1d63
...
@@ -1563,10 +1563,9 @@ expression support in the :mod:`re` module).
...
@@ -1563,10 +1563,9 @@ expression support in the :mod:`re` module).
.. method:: str.find(sub[, start[, end]])
.. method:: str.find(sub[, start[, end]])
Return the lowest index in the string where substring *sub* is found, such
Return the lowest index in the string where substring *sub* is found within
that *sub* is contained in the slice ``s[start:end]``. Optional arguments
the slice ``s[start:end]``. Optional arguments *start* and *end* are
*start* and *end* are interpreted as in slice notation. Return ``-1`` if
interpreted as in slice notation. Return ``-1`` if *sub* is not found.
*sub* is not found.
.. note::
.. note::
...
...
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