Fix redundant declaration of _PyImport_AddModuleObject (GH-7992)

This commit is contained in:
Jeremy Cline 2018-06-29 18:47:18 -04:00 committed by Eric Snow
parent b57eea16d1
commit f874bd1f06

View 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 */
);