From 52291eea4ca6c664bd9ea2a2f89bbd1584cfdf1d Mon Sep 17 00:00:00 2001 From: Jeremy Cline Date: Fri, 29 Jun 2018 18:47:18 -0400 Subject: [PATCH] Fix redundant declaration of _PyImport_AddModuleObject (GH-7992) (cherry picked from commit f874bd1f0630644f3e3faaa2d51e6749465c70bd) Co-authored-by: Jeremy Cline --- Include/import.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/Include/import.h b/Include/import.h index 13f32a1004cff5..c664803478a551 100644 --- a/Include/import.h +++ b/Include/import.h @@ -54,9 +54,6 @@ PyAPI_FUNC(PyObject *) PyImport_AddModuleObject( PyObject *name ); #endif -#ifndef Py_LIMITED_API -PyAPI_FUNC(PyObject *) _PyImport_AddModuleObject(PyObject *, PyObject *); -#endif PyAPI_FUNC(PyObject *) PyImport_AddModule( const char *name /* UTF-8 encoded string */ );