summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-03 22:52:27 (GMT)
committerGitHub <noreply@github.com>2023-07-03 22:52:27 (GMT)
commitf6d2bb18aba844f6bb5836797c72eb791b7f3644 (patch)
treee2056e96d2df6f75fd3d7deb8b396868c0b64c48
parent506cfdf141f03186d5cdf9bb31caa40294eba4e5 (diff)
downloadcpython-f6d2bb18aba844f6bb5836797c72eb791b7f3644.zip
cpython-f6d2bb18aba844f6bb5836797c72eb791b7f3644.tar.gz
cpython-f6d2bb18aba844f6bb5836797c72eb791b7f3644.tar.bz2
gh-86085: Remove _PyCodec_Forget() declaration (#106377)
The code was already removed by: commit c9f696cb96d1c362d5cad871f61da520572d9b08.
-rw-r--r--Include/internal/pycore_codecs.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Include/internal/pycore_codecs.h b/Include/internal/pycore_codecs.h
index 2f8d9d5..a246519 100644
--- a/Include/internal/pycore_codecs.h
+++ b/Include/internal/pycore_codecs.h
@@ -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