Fix redundant declaration of _PyImport_AddModuleObject (GH-7992) · python/cpython@f874bd1 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit f874bd1

jeremyclineericsnowcurrently

authored and

committed

Fix redundant declaration of _PyImport_AddModuleObject (GH-7992)

File tree

1 file changed

lines changed

1 file changed

lines changed

Original file line number Diff line number Diff line change
@@ -54,9 +54,6 @@ PyAPI_FUNC(PyObject *) PyImport_AddModuleObject(
54 54 PyObject *name
55 55 );
56 56 #endif
57 -#ifndef Py_LIMITED_API
58 -PyAPI_FUNC(PyObject *) _PyImport_AddModuleObject(PyObject *, PyObject *);
59 -#endif
60 57 PyAPI_FUNC(PyObject *) PyImport_AddModule(
61 58 const char *name /* UTF-8 encoded string */
62 59 );