summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/3.6.0a1.rst
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2023-07-21 07:52:07 (GMT)
committerGitHub <noreply@github.com>2023-07-21 07:52:07 (GMT)
commitfcc816dbff7ca66c26f57a506e4d2330fe41d0ff (patch)
tree98cc80573f16950153790ddbd7d017374d439d10 /Misc/NEWS.d/3.6.0a1.rst
parent81861fd90b4ae981e7881cd03a3c370713063525 (diff)
downloadcpython-fcc816dbff7ca66c26f57a506e4d2330fe41d0ff.zip
cpython-fcc816dbff7ca66c26f57a506e4d2330fe41d0ff.tar.gz
cpython-fcc816dbff7ca66c26f57a506e4d2330fe41d0ff.tar.bz2
gh-106919: Use role :c:macro: for referencing the C "constants" (GH-106920)
Diffstat (limited to 'Misc/NEWS.d/3.6.0a1.rst')
-rw-r--r--Misc/NEWS.d/3.6.0a1.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/NEWS.d/3.6.0a1.rst b/Misc/NEWS.d/3.6.0a1.rst
index 53f09b3..98f1215 100644
--- a/Misc/NEWS.d/3.6.0a1.rst
+++ b/Misc/NEWS.d/3.6.0a1.rst
@@ -125,7 +125,7 @@ Setuptools 19.0.
.. section: Core and Builtins
Memory functions of the :c:func:`PyMem_Malloc` domain
-(:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc allocator
+(:c:macro:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc allocator
<pymalloc>` rather than system :c:func:`malloc`. Applications calling
:c:func:`PyMem_Malloc` without holding the GIL can now crash: use
``PYTHONMALLOC=debug`` environment variable to validate the usage of memory