From c65ef772c335324deb03626cc447b89987781f27 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 29 Jan 2018 11:33:57 -0800 Subject: 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. --- Python/pylifecycle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/pylifecycle.c') diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 82ab915425..5db586e15d 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"); } -- cgit v1.2.1