diff options
author | jonasdlindner <42033762+jonasdlindner@users.noreply.github.com> | 2022-03-21 23:11:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-21 23:11:50 (GMT) |
commit | d5d625199e41580bb9372c16add4f13b9af2c223 (patch) | |
tree | 03c1c4a72bcf0a8704b133147f75ebbdf7281c44 /Include | |
parent | 45833b50f0ccf2abb01304c900afee05b6d01b9e (diff) | |
download | cpython-d5d625199e41580bb9372c16add4f13b9af2c223.zip cpython-d5d625199e41580bb9372c16add4f13b9af2c223.tar.gz cpython-d5d625199e41580bb9372c16add4f13b9af2c223.tar.bz2 |
Fix typo in pycore_bytesobject.h (GH-31914)
Diffstat (limited to 'Include')
-rw-r--r-- | Include/internal/pycore_bytesobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. |