summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-12-06 16:25:50 (GMT)
committerGitHub <noreply@github.com>2017-12-06 16:25:50 (GMT)
commit672b6baa71010f236ee8c8ce912e98cb542385c6 (patch)
tree542982cb63ada027c915497b3a703a6f46d0e5c4 /Include
parenta2a25eb03762680b98bb8cd090e43d0994a72c49 (diff)
downloadcpython-672b6baa71010f236ee8c8ce912e98cb542385c6.zip
cpython-672b6baa71010f236ee8c8ce912e98cb542385c6.tar.gz
cpython-672b6baa71010f236ee8c8ce912e98cb542385c6.tar.bz2
bpo-32030: pass interp to _PyImport_Init() (#4736)
Remove also the initstr variable, unused since the commit e69f0df45b709c25ac80617c41bbae16f56870fb pushed in 2012: "bpo-13959: Re-implement imp.find_module() in Lib/imp.py"
Diffstat (limited to 'Include')
-rw-r--r--Include/pylifecycle.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pylifecycle.h b/Include/pylifecycle.h
index fa75169..4c87428 100644
--- a/Include/pylifecycle.h
+++ b/Include/pylifecycle.h
@@ -127,7 +127,7 @@ PyAPI_FUNC(const char *) _Py_gitversion(void);
PyAPI_FUNC(PyObject *) _PyBuiltin_Init(void);
PyAPI_FUNC(_PyInitError) _PySys_BeginInit(PyObject **sysmod);
PyAPI_FUNC(int) _PySys_EndInit(PyObject *sysdict);
-PyAPI_FUNC(_PyInitError) _PyImport_Init(void);
+PyAPI_FUNC(_PyInitError) _PyImport_Init(PyInterpreterState *interp);
PyAPI_FUNC(void) _PyExc_Init(PyObject * bltinmod);
PyAPI_FUNC(_PyInitError) _PyImportHooks_Init(void);
PyAPI_FUNC(int) _PyFrame_Init(void);