diff options
author | Benjamin Peterson <benjamin@python.org> | 2018-01-29 19:33:57 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-29 19:33:57 (GMT) |
commit | c65ef772c335324deb03626cc447b89987781f27 (patch) | |
tree | fba0ec89a83165958c4e9ce631442bb9ce9ff7fa /Python/pylifecycle.c | |
parent | 2a2270db9be9bdac5ffd2d50929bf905e7391a06 (diff) | |
download | cpython-c65ef772c335324deb03626cc447b89987781f27.zip cpython-c65ef772c335324deb03626cc447b89987781f27.tar.gz cpython-c65ef772c335324deb03626cc447b89987781f27.tar.bz2 |
rename _imp initialization function to follow conventions (#5432)
When the C imp module became _imp in 6f44d66bc491bad5b8d897a68da68e009e27829d, the initialization function should have been renamed from PyInit_imp to PyInit__imp.
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 82ab915..5db586e 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -312,7 +312,7 @@ initimport(PyInterpreterState *interp, PyObject *sysmod) Py_INCREF(interp->import_func); /* Import the _imp module */ - impmod = PyInit_imp(); + impmod = PyInit__imp(); if (impmod == NULL) { return _Py_INIT_ERR("can't import _imp"); } |