]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in pycore_bytesobject.h (GH-31914)
authorjonasdlindner <42033762+jonasdlindner@users.noreply.github.com>
Mon, 21 Mar 2022 23:11:50 +0000 (00:11 +0100)
committerGitHub <noreply@github.com>
Mon, 21 Mar 2022 23:11:50 +0000 (19:11 -0400)
Include/internal/pycore_bytesobject.h

index 8739a759ec36bfdab89a2d1bbd5332f6f6a77072..b8061607a518d0f55dacd108605cad466b6a48ab 100644 (file)
@@ -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.