diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2014-09-15 23:50:44 +1200 |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2014-09-15 23:50:44 +1200 |
commit | 5e16d8ca5aa2a75af135013975cea98b38a5b17b (patch) | |
tree | ca52a08b87adc739e72c4e1c3643dd10351f9e1b /Include | |
parent | e55ee080c93df539f7beebfc5344648d6bbb0755 (diff) | |
download | cpython-5e16d8ca5aa2a75af135013975cea98b38a5b17b.tar.gz |
Issue #22166: clear codec caches in test_codecs
Diffstat (limited to 'Include')
-rw-r--r-- | Include/codecs.h | 4 |
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. |