diff options
author | Benjamin Peterson <benjamin@python.org> | 2018-09-12 19:06:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-12 19:06:42 (GMT) |
commit | e5024517811ee990b770fca0ba7058742d00e032 (patch) | |
tree | 6da191463cc8ff17b6c4ec4e4479015e851d5244 /Objects/methodobject.c | |
parent | 019f0a0cb85ebc234356415f3638b9bd77528e55 (diff) | |
download | cpython-e5024517811ee990b770fca0ba7058742d00e032.zip cpython-e5024517811ee990b770fca0ba7058742d00e032.tar.gz cpython-e5024517811ee990b770fca0ba7058742d00e032.tar.bz2 |
closes bpo-34646: Remove PyAPI_* macros from declarations. (GH-9218)
Diffstat (limited to 'Objects/methodobject.c')
-rw-r--r-- | Objects/methodobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c index a7042ca..5ad2831 100644 --- a/Objects/methodobject.c +++ b/Objects/methodobject.c @@ -18,7 +18,7 @@ static int numfree = 0; /* undefine macro trampoline to PyCFunction_NewEx */ #undef PyCFunction_New -PyAPI_FUNC(PyObject *) +PyObject * PyCFunction_New(PyMethodDef *ml, PyObject *self) { return PyCFunction_NewEx(ml, self, NULL); |