Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6ffbcdf + 114a1d6 commit f34c3feCopy full SHA for f34c3fe
1 file changed
Doc/library/stdtypes.rst
@@ -1563,10 +1563,9 @@ expression support in the :mod:`re` module).
1563
1564
.. method:: str.find(sub[, start[, end]])
1565
1566
- Return the lowest index in the string where substring *sub* is found, such
1567
- that *sub* is contained in the slice ``s[start:end]``. Optional arguments
1568
- *start* and *end* are interpreted as in slice notation. Return ``-1`` if
1569
- *sub* is not found.
+ Return the lowest index in the string where substring *sub* is found within
+ the slice ``s[start:end]``. Optional arguments *start* and *end* are
+ interpreted as in slice notation. Return ``-1`` if *sub* is not found.
1570
1571
.. note::
1572
0 commit comments