Skip to content

Commit f874bd1

Browse files
jeremyclineericsnowcurrently
authored andcommitted
Fix redundant declaration of _PyImport_AddModuleObject (GH-7992)
1 parent b57eea1 commit f874bd1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Include/import.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@ PyAPI_FUNC(PyObject *) PyImport_AddModuleObject(
5454
PyObject *name
5555
);
5656
#endif
57-
#ifndef Py_LIMITED_API
58-
PyAPI_FUNC(PyObject *) _PyImport_AddModuleObject(PyObject *, PyObject *);
59-
#endif
6057
PyAPI_FUNC(PyObject *) PyImport_AddModule(
6158
const char *name /* UTF-8 encoded string */
6259
);

0 commit comments

Comments
 (0)