mirror of
https://github.com/python/cpython.git
synced 2025-09-14 12:46:49 +00:00
parent
ec62423be4
commit
9efd9b6fa4
2 changed files with 4 additions and 4 deletions
|
@ -5760,7 +5760,7 @@ PyDoc_STRVAR(find__doc__,
|
|||
"S.find(sub [,start [,end]]) -> int\n\
|
||||
\n\
|
||||
Return the lowest index in S where substring sub is found,\n\
|
||||
such that sub is contained within s[start,end]. Optional\n\
|
||||
such that sub is contained within s[start:end]. Optional\n\
|
||||
arguments start and end are interpreted as in slice notation.\n\
|
||||
\n\
|
||||
Return -1 on failure.");
|
||||
|
@ -6501,7 +6501,7 @@ PyDoc_STRVAR(rfind__doc__,
|
|||
"S.rfind(sub [,start [,end]]) -> int\n\
|
||||
\n\
|
||||
Return the highest index in S where substring sub is found,\n\
|
||||
such that sub is contained within s[start,end]. Optional\n\
|
||||
such that sub is contained within s[start:end]. Optional\n\
|
||||
arguments start and end are interpreted as in slice notation.\n\
|
||||
\n\
|
||||
Return -1 on failure.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue