We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 45833b5 commit d5d6251Copy full SHA for d5d6251
Include/internal/pycore_bytesobject.h
@@ -16,7 +16,7 @@ extern PyStatus _PyBytes_InitTypes(PyInterpreterState *);
16
17
/* Substring Search.
18
19
- Returns the index of the first occurence of
+ Returns the index of the first occurrence of
20
a substring ("needle") in a larger text ("haystack").
21
If the needle is not found, return -1.
22
If the needle is found, add offset to the index.
0 commit comments