summaryrefslogtreecommitdiffstats
path: root/Include/modsupport.h
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2017-09-14 06:46:04 (GMT)
committerGitHub <noreply@github.com>2017-09-14 06:46:04 (GMT)
commit93c92f7d1dbb6e7e472f1d0444c6968858113de2 (patch)
tree031230f9b0cf2e8a8ef21f7fc40c4f5f98d20c6c /Include/modsupport.h
parent13ad3b7a82bf56d803fbe48ee5df6c4b08986c78 (diff)
downloadcpython-93c92f7d1dbb6e7e472f1d0444c6968858113de2.zip
cpython-93c92f7d1dbb6e7e472f1d0444c6968858113de2.tar.gz
cpython-93c92f7d1dbb6e7e472f1d0444c6968858113de2.tar.bz2
bpo-31404: Revert "remove modules from Py_InterpreterState (#1638)" (#3565)
PR #1638, for bpo-28411, causes problems in some (very) edge cases. Until that gets sorted out, we're reverting the merge. PR #3506, a fix on top of #1638, is also getting reverted.
Diffstat (limited to 'Include/modsupport.h')
-rw-r--r--Include/modsupport.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/Include/modsupport.h b/Include/modsupport.h
index 73d86a9..8c7cf39 100644
--- a/Include/modsupport.h
+++ b/Include/modsupport.h
@@ -191,10 +191,6 @@ 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) \