diff options
| author | Victor Stinner <vstinner@python.org> | 2022-02-24 17:51:59 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-24 17:51:59 +0100 |
| commit | 042f31da552c19054acd3ef7bb6cfd857bce172b (patch) | |
| tree | d1aa8f20f873c89adebbac7072d80dceb19d32c4 /Include/cpython/descrobject.h | |
| parent | ec091bd47e2f968b0d1631b9a8104283a7beeb1b (diff) | |
| download | cpython-git-042f31da552c19054acd3ef7bb6cfd857bce172b.tar.gz | |
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/descrobject.h')
| -rw-r--r-- | Include/cpython/descrobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/descrobject.h b/Include/cpython/descrobject.h index 5d6c3a24d9..e2ea1b9a2d 100644 --- a/Include/cpython/descrobject.h +++ b/Include/cpython/descrobject.h @@ -43,7 +43,7 @@ typedef struct { typedef struct { PyDescr_COMMON; - struct PyMemberDef *d_member; + PyMemberDef *d_member; } PyMemberDescrObject; typedef struct { |
