]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-86085: Remove _PyCodec_Forget() declaration (#106377)
authorVictor Stinner <vstinner@python.org>
Mon, 3 Jul 2023 22:52:27 +0000 (00:52 +0200)
committerGitHub <noreply@github.com>
Mon, 3 Jul 2023 22:52:27 +0000 (00:52 +0200)
The code was already removed by:
commit c9f696cb96d1c362d5cad871f61da520572d9b08.

Include/internal/pycore_codecs.h

index 2f8d9d510019bac69bcdffe83b8c6fb941135961..a2465192eacd5edc5bbccb402031f8933c8da492 100644 (file)
@@ -6,8 +6,6 @@ extern "C" {
 
 extern PyObject* _PyCodec_Lookup(const char *encoding);
 
-extern int _PyCodec_Forget(const char *encoding);
-
 /* Text codec specific encoding and decoding API.
 
    Checks the encoding against a list of codecs which do not