mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
Fix typo in pycore_bytesobject.h (GH-31914)
This commit is contained in:
parent
45833b50f0
commit
d5d625199e
1 changed files with 1 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ extern PyStatus _PyBytes_InitTypes(PyInterpreterState *);
|
|||
|
||||
/* 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").
|
||||
If the needle is not found, return -1.
|
||||
If the needle is found, add offset to the index.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue