commit | 8fad1676a215bab3e61dccf0f1802ccb17a43a41 | [log] [tgz] |
---|---|---|
author | Nick Coghlan <ncoghlan@gmail.com> | Mon Sep 15 23:50:44 2014 +1200 |
committer | Nick Coghlan <ncoghlan@gmail.com> | Mon Sep 15 23:50:44 2014 +1200 |
tree | 8a372bcba4c55571779e527d4c202bc2ab04ea0b | |
parent | b85a97600a45bf235fd8b541ebab358f6a8aa5dd [diff] [blame] |
Issue #22166: clear codec caches in test_codecs
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(PyObject *) _PyCodec_Lookup( const char *encoding ); + +PyAPI_FUNC(int) _PyCodec_Forget( + const char *encoding + ); #endif /* Codec registry encoding check API.