Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit c919252

Browse files
Fix redundant declaration of _PyImport_AddModuleObject (GH-7992)
(cherry picked from commit f874bd1) Co-authored-by: Jeremy Cline <[email protected]>
1 parent eabebbb commit c919252

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)