summaryrefslogtreecommitdiffstats
path: root/Include/cpython/abstract.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-02-24 16:51:59 (GMT)
committerGitHub <noreply@github.com>2022-02-24 16:51:59 (GMT)
commit042f31da552c19054acd3ef7bb6cfd857bce172b (patch)
treed1aa8f20f873c89adebbac7072d80dceb19d32c4 /Include/cpython/abstract.h
parentec091bd47e2f968b0d1631b9a8104283a7beeb1b (diff)
downloadcpython-042f31da552c19054acd3ef7bb6cfd857bce172b.zip
cpython-042f31da552c19054acd3ef7bb6cfd857bce172b.tar.gz
cpython-042f31da552c19054acd3ef7bb6cfd857bce172b.tar.bz2
bpo-45459: C API uses type names rather than structure names (GH-31528)
Thanks to the new pytypedefs.h, it becomes to use type names like PyObject rather like structure names like "struct _object".
Diffstat (limited to 'Include/cpython/abstract.h')
-rw-r--r--Include/cpython/abstract.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/abstract.h b/Include/cpython/abstract.h
index cf142b8..bdc0c49 100644
--- a/Include/cpython/abstract.h
+++ b/Include/cpython/abstract.h
@@ -133,7 +133,7 @@ PyAPI_FUNC(PyObject *) _PyObject_CallMethodId_SizeT(PyObject *obj,
PyAPI_FUNC(PyObject *) _PyObject_CallMethodIdObjArgs(
PyObject *obj,
- struct _Py_Identifier *name,
+ _Py_Identifier *name,
...);
static inline PyObject *