]> granicus.if.org Git - python/commitdiff
Fix redundant declaration of _PyImport_AddModuleObject (GH-7992)
authorJeremy Cline <jeremy@jcline.org>
Fri, 29 Jun 2018 22:47:18 +0000 (18:47 -0400)
committerEric Snow <ericsnowcurrently@gmail.com>
Fri, 29 Jun 2018 22:47:18 +0000 (16:47 -0600)
Include/import.h

index 13f32a1004cff5646586955d25166a8eaff2ca4c..c664803478a551f84fd69ab47ad7b0b808b0d5df 100644 (file)
@@ -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 */
     );