diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-01 19:04:50 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2013-08-01 19:04:50 (GMT) |
commit | 932ff8368289b53c4ca37167747bb71d146fc6ea (patch) | |
tree | 31f508a77d07676df88535e20bfe555eb662f0a2 /Modules/_io/_iomodule.h | |
parent | 2d350fd8af29eada0c3f264a91df6ab4af4a05fd (diff) | |
download | cpython-932ff8368289b53c4ca37167747bb71d146fc6ea.zip cpython-932ff8368289b53c4ca37167747bb71d146fc6ea.tar.gz cpython-932ff8368289b53c4ca37167747bb71d146fc6ea.tar.bz2 |
Issue #18608: Avoid keeping a strong reference to the locale module inside the _io module.
Diffstat (limited to 'Modules/_io/_iomodule.h')
-rw-r--r-- | Modules/_io/_iomodule.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/_io/_iomodule.h b/Modules/_io/_iomodule.h index ad1faa8..b90a658 100644 --- a/Modules/_io/_iomodule.h +++ b/Modules/_io/_iomodule.h @@ -137,6 +137,8 @@ typedef struct { #define IO_MOD_STATE(mod) ((_PyIO_State *)PyModule_GetState(mod)) #define IO_STATE IO_MOD_STATE(PyState_FindModule(&_PyIO_Module)) +extern PyObject *_PyIO_get_locale_module(_PyIO_State *); + extern PyObject *_PyIO_str_close; extern PyObject *_PyIO_str_closed; extern PyObject *_PyIO_str_decode; |