From: jonasdlindner <42033762+jonasdlindner@users.noreply.github.com> Date: Mon, 21 Mar 2022 23:11:50 +0000 (+0100) Subject: Fix typo in pycore_bytesobject.h (GH-31914) X-Git-Tag: v3.11.0a7~175 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d5d625199e41580bb9372c16add4f13b9af2c223;p=thirdparty%2FPython%2Fcpython.git Fix typo in pycore_bytesobject.h (GH-31914) --- diff --git a/Include/internal/pycore_bytesobject.h b/Include/internal/pycore_bytesobject.h index 8739a759ec36..b8061607a518 100644 --- a/Include/internal/pycore_bytesobject.h +++ b/Include/internal/pycore_bytesobject.h @@ -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.