]> git.pld-linux.org Git - packages/python3.git/blame - python3-redundant_declaration.patch
- shell aliases commented-out by default
[packages/python3.git] / python3-redundant_declaration.patch
CommitLineData
0c593ec9
JB
1From c919252a28f4e9dd326dc2c703b4eee6e247be83 Mon Sep 17 00:00:00 2001
2From: "Miss Islington (bot)"
3 <31488909+miss-islington@users.noreply.github.com>
4Date: Fri, 29 Jun 2018 16:03:07 -0700
5Subject: [PATCH] Fix redundant declaration of _PyImport_AddModuleObject
6 (GH-7992)
7
8(cherry picked from commit f874bd1f0630644f3e3faaa2d51e6749465c70bd)
9
10Co-authored-by: Jeremy Cline <jeremy@jcline.org>
11---
12 Include/import.h | 3 ---
13 1 file changed, 3 deletions(-)
14
15diff --git a/Include/import.h b/Include/import.h
16index 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 );
This page took 0.032822 seconds and 4 git commands to generate.