Skip to content

Commit b876975

Browse files
committed
Document PY_AUDIT_READ
1 parent 036d309 commit b876975

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

‎Doc/c-api/structures.rst‎

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -760,11 +760,18 @@ The following flags can be used with :c:member:`PyMemberDef.flags`:
760760
.. versionchanged:: 3.12
761761
762762
The :c:macro:`!READONLY` macro was renamed to :c:macro:`Py_READONLY`.
763-
The :c:macro:`!PY_AUDIT_READ` macro was renamed with the ``Py_`` prefix.
763+
The :c:macro:`PY_AUDIT_READ` macro was renamed with the ``Py_`` prefix.
764764
The new names are now always available.
765765
Previously, these required ``#include "structmember.h"``.
766766
The header is still available and it provides the old names.
767767
768+
.. c:macro:: PY_AUDIT_READ
769+
770+
Alias to :c:macro:`Py_AUDIT_READ`.
771+
772+
.. soft-deprecated:: 3.12
773+
Use :c:macro:`Py_AUDIT_READ` instead.
774+
768775
.. _PyMemberDef-types:
769776
770777
Member types

0 commit comments

Comments
 (0)