]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-46848: Move _PyBytes_Find() to internal C API (GH-31642)
authorVictor Stinner <vstinner@python.org>
Wed, 2 Mar 2022 13:15:26 +0000 (14:15 +0100)
committerGitHub <noreply@github.com>
Wed, 2 Mar 2022 13:15:26 +0000 (14:15 +0100)
commitb6b711a1aa233001c1874af1d920e459b6bf962c
treedb9de75d0d1a794dace09ccba274a22f733bff63
parent03642df1a1cfddcd740b62e78bddfa3ea6863da4
bpo-46848: Move _PyBytes_Find() to internal C API (GH-31642)

Move _PyBytes_Find() and _PyBytes_ReverseFind() functions to the
internal C API.

bytesobject.c now includes pycore_bytesobject.h.
Include/cpython/bytesobject.h
Include/internal/pycore_bytesobject.h
Modules/mmapmodule.c
Objects/bytesobject.c