]>
Commit | Line | Data |
---|---|---|
0c593ec9 JB |
1 | From c919252a28f4e9dd326dc2c703b4eee6e247be83 Mon Sep 17 00:00:00 2001 |
2 | From: "Miss Islington (bot)" | |
3 | <31488909+miss-islington@users.noreply.github.com> | |
4 | Date: Fri, 29 Jun 2018 16:03:07 -0700 | |
5 | Subject: [PATCH] Fix redundant declaration of _PyImport_AddModuleObject | |
6 | (GH-7992) | |
7 | ||
8 | (cherry picked from commit f874bd1f0630644f3e3faaa2d51e6749465c70bd) | |
9 | ||
10 | Co-authored-by: Jeremy Cline <jeremy@jcline.org> | |
11 | --- | |
12 | Include/import.h | 3 --- | |
13 | 1 file changed, 3 deletions(-) | |
14 | ||
15 | diff --git a/Include/import.h b/Include/import.h | |
16 | index 13f32a1004cf..c664803478a5 100644 | |
17 | --- a/Include/import.h | |
18 | +++ b/Include/import.h | |
19 | @@ -54,9 +54,6 @@ PyAPI_FUNC(PyObject *) PyImport_AddModuleObject( | |
20 | PyObject *name | |
21 | ); | |
22 | #endif | |
23 | -#ifndef Py_LIMITED_API | |
24 | -PyAPI_FUNC(PyObject *) _PyImport_AddModuleObject(PyObject *, PyObject *); | |
25 | -#endif | |
26 | PyAPI_FUNC(PyObject *) PyImport_AddModule( | |
27 | const char *name /* UTF-8 encoded string */ | |
28 | ); |