From 8102872327df91648ea443f1b4fbf0abe699ebfa Mon Sep 17 00:00:00 2001 From: jonasdlindner Date: Tue, 15 Mar 2022 19:43:36 +0100 Subject: [PATCH] Fix Typo in Include/internal/pycore_bytesobject.h --- 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 8739a759ec36bf..b8061607a518d0 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.