summaryrefslogtreecommitdiffstats
path: root/Include/codecs.h
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2014-09-15 11:50:44 (GMT)
committerNick Coghlan <ncoghlan@gmail.com>2014-09-15 11:50:44 (GMT)
commit8fad1676a215bab3e61dccf0f1802ccb17a43a41 (patch)
tree8a372bcba4c55571779e527d4c202bc2ab04ea0b /Include/codecs.h
parentb85a97600a45bf235fd8b541ebab358f6a8aa5dd (diff)
downloadcpython-8fad1676a215bab3e61dccf0f1802ccb17a43a41.zip
cpython-8fad1676a215bab3e61dccf0f1802ccb17a43a41.tar.gz
cpython-8fad1676a215bab3e61dccf0f1802ccb17a43a41.tar.bz2
Issue #22166: clear codec caches in test_codecs
Diffstat (limited to 'Include/codecs.h')
-rw-r--r--Include/codecs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/codecs.h b/Include/codecs.h
index 611964c..b3088e4 100644
--- a/Include/codecs.h
+++ b/Include/codecs.h
@@ -49,6 +49,10 @@ PyAPI_FUNC(int) PyCodec_Register(
PyAPI_FUNC(PyObject *) _PyCodec_Lookup(
const char *encoding
);
+
+PyAPI_FUNC(int) _PyCodec_Forget(
+ const char *encoding
+ );
#endif
/* Codec registry encoding check API.