summaryrefslogtreecommitdiff
path: root/Include
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-06-29 16:03:07 -0700
committerGitHub <noreply@github.com>2018-06-29 16:03:07 -0700
commitc919252a28f4e9dd326dc2c703b4eee6e247be83 (patch)
tree60bf25f73ecaf2b80e76a5f34e0d6e6ed800eaf9 /Include
parenteabebbb54c2604fd8d08e8019ea1be634aed8c2f (diff)
downloadcpython-git-c919252a28f4e9dd326dc2c703b4eee6e247be83.tar.gz
Fix redundant declaration of _PyImport_AddModuleObject (GH-7992)
(cherry picked from commit f874bd1f0630644f3e3faaa2d51e6749465c70bd) Co-authored-by: Jeremy Cline <jeremy@jcline.org>
Diffstat (limited to 'Include')
-rw-r--r--Include/import.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/import.h b/Include/import.h
index 13f32a1004..c664803478 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 */
);