mirror of https://github.com/python/cpython
Fix typo in pycore_bytesobject.h (GH-31914)
This commit is contained in:
parent
45833b50f0
commit
d5d625199e
|
@ -16,7 +16,7 @@ extern PyStatus _PyBytes_InitTypes(PyInterpreterState *);
|
||||||
|
|
||||||
/* Substring Search.
|
/* Substring Search.
|
||||||
|
|
||||||
Returns the index of the first occurence of
|
Returns the index of the first occurrence of
|
||||||
a substring ("needle") in a larger text ("haystack").
|
a substring ("needle") in a larger text ("haystack").
|
||||||
If the needle is not found, return -1.
|
If the needle is not found, return -1.
|
||||||
If the needle is found, add offset to the index.
|
If the needle is found, add offset to the index.
|
||||||
|
|
Loading…
Reference in New Issue