diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2014-09-15 11:50:44 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2014-09-15 11:50:44 (GMT) |
commit | 8fad1676a215bab3e61dccf0f1802ccb17a43a41 (patch) | |
tree | 8a372bcba4c55571779e527d4c202bc2ab04ea0b /Include | |
parent | b85a97600a45bf235fd8b541ebab358f6a8aa5dd (diff) | |
download | cpython-8fad1676a215bab3e61dccf0f1802ccb17a43a41.zip cpython-8fad1676a215bab3e61dccf0f1802ccb17a43a41.tar.gz cpython-8fad1676a215bab3e61dccf0f1802ccb17a43a41.tar.bz2 |
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 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. |