[Python-checkins] Fix typo in pycore_bytesobject.h (GH-31914)

sweeneyde webhook-mailer at python.org
Mon Mar 21 19:12:06 EDT 2022


https://github.com/python/cpython/commit/d5d625199e41580bb9372c16add4f13b9af2c223
commit: d5d625199e41580bb9372c16add4f13b9af2c223
branch: main
author: jonasdlindner <42033762+jonasdlindner at users.noreply.github.com>
committer: sweeneyde <36520290+sweeneyde at users.noreply.github.com>
date: 2022-03-21T19:11:50-04:00
summary:

Fix typo in pycore_bytesobject.h (GH-31914)

files:
M Include/internal/pycore_bytesobject.h

diff --git a/Include/internal/pycore_bytesobject.h b/Include/internal/pycore_bytesobject.h
index 8739a759ec36b..b8061607a518d 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.



More information about the Python-checkins mailing list