summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-04-26 00:27:06 -0400
committerBenjamin Peterson <benjamin@python.org>2012-04-26 00:27:06 -0400
commit9fa47ebafedaf1aef4480bc115b182a62efb79e1 (patch)
tree0d97445bce1727b9003c43c1dfa8cfbb3787ce5f /Python/pythonrun.c
parent1138944888d13d2600241ca0d9408e018077d691 (diff)
parente0d88a173c5ccc346b8d7c6e805f0e49b4ea92f7 (diff)
downloadcpython-git-9fa47ebafedaf1aef4480bc115b182a62efb79e1.tar.gz
merge heads
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 44a85bb355..9e20e4a051 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -229,7 +229,7 @@ import_init(PyInterpreterState *interp, PyObject *sysmod)
Py_FatalError("Py_Initialize: can't save _imp to sys.modules");
}
- value = PyObject_CallMethod(importlib, "_setup", "OO", sysmod, impmod);
+ value = PyObject_CallMethod(importlib, "_install", "OO", sysmod, impmod);
if (value == NULL) {
PyErr_Print();
Py_FatalError("Py_Initialize: importlib install failed");