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/import.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Python/import.c') diff --git a/Python/import.c b/Python/import.c index 8d306403a2..eb5aeac554 100644 --- a/Python/import.c +++ b/Python/import.c @@ -1,4 +1,3 @@ - /* Module definition and import implementation */ #include "Python.h" @@ -2253,7 +2252,7 @@ static struct PyModuleDef impmodule = { const char *_Py_CheckHashBasedPycsMode = "default"; PyMODINIT_FUNC -PyInit_imp(void) +PyInit__imp(void) { PyObject *m, *d; -- cgit v1.2.1