summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorNick Coghlan <ncoghlan@gmail.com>2014-09-15 23:50:44 +1200
committerNick Coghlan <ncoghlan@gmail.com>2014-09-15 23:50:44 +1200
commit5e16d8ca5aa2a75af135013975cea98b38a5b17b (patch)
treeca52a08b87adc739e72c4e1c3643dd10351f9e1b /Include
parente55ee080c93df539f7beebfc5344648d6bbb0755 (diff)
downloadcpython-5e16d8ca5aa2a75af135013975cea98b38a5b17b.tar.gz
Issue #22166: clear codec caches in test_codecs
Diffstat (limited to 'Include')
-rw-r--r--Include/codecs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/codecs.h b/Include/codecs.h
index 611964ce4b..b3088e4902 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.