diff options
author | Eric Snow <ericsnowcurrently@gmail.com> | 2017-09-04 23:54:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-04 23:54:09 (GMT) |
commit | 86b7afdfeee77993fe896a2aa13b3f4f95973f16 (patch) | |
tree | a37fbb7233319c671e4787bff683629148cab971 /Include/modsupport.h | |
parent | f5ea83f4864232fecc042ff0d1c2401807b19280 (diff) | |
download | cpython-86b7afdfeee77993fe896a2aa13b3f4f95973f16.zip cpython-86b7afdfeee77993fe896a2aa13b3f4f95973f16.tar.gz cpython-86b7afdfeee77993fe896a2aa13b3f4f95973f16.tar.bz2 |
bpo-28411: Remove "modules" field from Py_InterpreterState. (#1638)
sys.modules is the one true source.
Diffstat (limited to 'Include/modsupport.h')
-rw-r--r-- | Include/modsupport.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/modsupport.h b/Include/modsupport.h index 8c7cf39..73d86a9 100644 --- a/Include/modsupport.h +++ b/Include/modsupport.h @@ -191,6 +191,10 @@ PyAPI_FUNC(int) PyModule_ExecDef(PyObject *module, PyModuleDef *def); PyAPI_FUNC(PyObject *) PyModule_Create2(struct PyModuleDef*, int apiver); +#ifndef Py_LIMITED_API +PyAPI_FUNC(PyObject *) _PyModule_CreateInitialized(struct PyModuleDef*, + int apiver); +#endif #ifdef Py_LIMITED_API #define PyModule_Create(module) \ |