diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2023-07-21 11:48:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-21 11:48:15 (GMT) |
commit | ac9aa8a369e03784c5df7f2f8b598959fc9ef5f4 (patch) | |
tree | ebbf7a80b1c17857f0c2a16bea186817de7ad6b1 /Doc/whatsnew/3.11.rst | |
parent | 807afdac416356c5e4558f11a8e1cfc5f0c86dd7 (diff) | |
download | cpython-ac9aa8a369e03784c5df7f2f8b598959fc9ef5f4.zip cpython-ac9aa8a369e03784c5df7f2f8b598959fc9ef5f4.tar.gz cpython-ac9aa8a369e03784c5df7f2f8b598959fc9ef5f4.tar.bz2 |
[3.12] gh-106919: Use role :c:macro: for referencing the C "constants" (GH-106920) (GH-106951)
(cherry picked from commit fcc816dbff7ca66c26f57a506e4d2330fe41d0ff)
Diffstat (limited to 'Doc/whatsnew/3.11.rst')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index c06ce78..5ff99fc 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -2347,11 +2347,11 @@ Porting to Python 3.11 #endif * The :c:func:`PyType_Ready` function now raises an error if a type is defined - with the :const:`Py_TPFLAGS_HAVE_GC` flag set but has no traverse function + with the :c:macro:`Py_TPFLAGS_HAVE_GC` flag set but has no traverse function (:c:member:`PyTypeObject.tp_traverse`). (Contributed by Victor Stinner in :issue:`44263`.) -* Heap types with the :const:`Py_TPFLAGS_IMMUTABLETYPE` flag can now inherit +* Heap types with the :c:macro:`Py_TPFLAGS_IMMUTABLETYPE` flag can now inherit the :pep:`590` vectorcall protocol. Previously, this was only possible for :ref:`static types <static-types>`. (Contributed by Erlend E. Aasland in :issue:`43908`) |