mirror of
https://github.com/python/cpython.git
synced 2025-08-19 00:00:48 +00:00
parent
00247d85bd
commit
b4d100cf2d
2 changed files with 4 additions and 4 deletions
|
@ -1890,7 +1890,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.");
|
||||
|
@ -1929,7 +1929,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.");
|
||||
|
|
|
@ -5757,7 +5757,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.");
|
||||
|
@ -6498,7 +6498,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