From d5d625199e41580bb9372c16add4f13b9af2c223 Mon Sep 17 00:00:00 2001 From: jonasdlindner <42033762+jonasdlindner@users.noreply.github.com> Date: Tue, 22 Mar 2022 00:11:50 +0100 Subject: Fix typo in pycore_bytesobject.h (GH-31914) --- Include/internal/pycore_bytesobject.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/internal/pycore_bytesobject.h b/Include/internal/pycore_bytesobject.h index 8739a75..b806160 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. -- cgit v0.12