summaryrefslogtreecommitdiffstats
path: root/Doc/using
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-04-29 08:47:47 (GMT)
committerGitHub <noreply@github.com>2021-04-29 08:47:47 (GMT)
commit645ed62fb4c09b7e23887fcca0767b0f2d7d3fd6 (patch)
treefc32b850519953ecef975a516a455dda65a72d34 /Doc/using
parentb1f413e6cf63a1c5704fcb47f2095ef5db8970bb (diff)
downloadcpython-645ed62fb4c09b7e23887fcca0767b0f2d7d3fd6.zip
cpython-645ed62fb4c09b7e23887fcca0767b0f2d7d3fd6.tar.gz
cpython-645ed62fb4c09b7e23887fcca0767b0f2d7d3fd6.tar.bz2
bpo-43774: Remove unused PYMALLOC_DEBUG macro (GH-25711)
Enhance also the documentation of debug hooks on memory allocators.
Diffstat (limited to 'Doc/using')
-rw-r--r--Doc/using/cmdline.rst6
1 files changed, 1 insertions, 5 deletions
diff --git a/Doc/using/cmdline.rst b/Doc/using/cmdline.rst
index 09d8fa9..25e05d4 100644
--- a/Doc/using/cmdline.rst
+++ b/Doc/using/cmdline.rst
@@ -799,17 +799,13 @@ conflict.
:c:data:`PYMEM_DOMAIN_MEM` and :c:data:`PYMEM_DOMAIN_OBJ` domains and use
the :c:func:`malloc` function for the :c:data:`PYMEM_DOMAIN_RAW` domain.
- Install debug hooks:
+ Install :ref:`debug hooks <pymem-debug-hooks>`:
* ``debug``: install debug hooks on top of the :ref:`default memory
allocators <default-memory-allocators>`.
* ``malloc_debug``: same as ``malloc`` but also install debug hooks.
* ``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks.
- See the :ref:`default memory allocators <default-memory-allocators>` and the
- :c:func:`PyMem_SetupDebugHooks` function (install debug hooks on Python
- memory allocators).
-
.. versionchanged:: 3.7
Added the ``"default"`` allocator.