[Python-checkins] Fix redundant declaration of _PyImport_AddModuleObject (GH-7992)
Eric Snow
webhook-mailer at python.org
Fri Jun 29 18:47:27 EDT 2018
https://github.com/python/cpython/commit/f874bd1f0630644f3e3faaa2d51e6749465c70bd
commit: f874bd1f0630644f3e3faaa2d51e6749465c70bd
branch: master
author: Jeremy Cline <jeremy at jcline.org>
committer: Eric Snow <ericsnowcurrently at gmail.com>
date: 2018-06-29T16:47:18-06:00
summary:
Fix redundant declaration of _PyImport_AddModuleObject (GH-7992)
files:
M Include/import.h
diff --git a/Include/import.h b/Include/import.h
index 13f32a1004cf..c664803478a5 100644
--- a/Include/import.h
+++ b/Include/import.h
@@ -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 */
);
More information about the Python-checkins
mailing list