summaryrefslogtreecommitdiffstats
path: root/Include/import.h
diff options
context:
space:
mode:
authorJeremy Cline <jeremy@jcline.org>2018-06-29 22:47:18 (GMT)
committerEric Snow <ericsnowcurrently@gmail.com>2018-06-29 22:47:18 (GMT)
commitf874bd1f0630644f3e3faaa2d51e6749465c70bd (patch)
tree8e0f13a5e6085d636620d1078e7fcca0b68aa4a3 /Include/import.h
parentb57eea16d19d2cd7244eae370cb3cf68f922e2f9 (diff)
downloadcpython-f874bd1f0630644f3e3faaa2d51e6749465c70bd.zip
cpython-f874bd1f0630644f3e3faaa2d51e6749465c70bd.tar.gz
cpython-f874bd1f0630644f3e3faaa2d51e6749465c70bd.tar.bz2
Fix redundant declaration of _PyImport_AddModuleObject (GH-7992)
Diffstat (limited to 'Include/import.h')
-rw-r--r--Include/import.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/Include/import.h b/Include/import.h
index 13f32a1..c664803 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 */
);