Skip to content

Commit d5d6251

Browse files
Fix typo in pycore_bytesobject.h (GH-31914)
1 parent 45833b5 commit d5d6251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Include/internal/pycore_bytesobject.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ extern PyStatus _PyBytes_InitTypes(PyInterpreterState *);
1616

1717
/* Substring Search.
1818
19-
Returns the index of the first occurence of
19+
Returns the index of the first occurrence of
2020
a substring ("needle") in a larger text ("haystack").
2121
If the needle is not found, return -1.
2222
If the needle is found, add offset to the index.

0 commit comments

Comments
 (0)