rename _imp initialization function to follow conventions (#5432)

When the C imp module became _imp in 6f44d66bc4, the initialization function should have been renamed from PyInit_imp to PyInit__imp.
This commit is contained in:
Benjamin Peterson 2018-01-29 11:33:57 -08:00 committed by GitHub
parent 2a2270db9b
commit c65ef772c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 8 deletions

View file

@ -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");
}