summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-06-22 19:13:34 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-06-22 19:13:34 (GMT)
commit5f6213be2d5890d7bc3ba62db58ac1ce0215aaaa (patch)
treee818110e6015c9666cac9d1d3107ca656719811a /Doc/library
parentf7338f65fb8bdb85c52dc54d06d003a82a06bbb3 (diff)
parent49526f48fc73d3ccdf09d466ed2d39a30e4df9b9 (diff)
downloadcpython-5f6213be2d5890d7bc3ba62db58ac1ce0215aaaa.zip
cpython-5f6213be2d5890d7bc3ba62db58ac1ce0215aaaa.tar.gz
cpython-5f6213be2d5890d7bc3ba62db58ac1ce0215aaaa.tar.bz2
Merge
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/sys.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index c7b3ea9..1516e3c 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -106,6 +106,22 @@ always available.
This function should be used for internal and specialized purposes only.
+.. function:: _debugmallocstats()
+
+ Print low-level information to stderr about the state of CPython's memory
+ allocator.
+
+ If Python is configured --with-pydebug, it also performs some expensive
+ internal consistency checks.
+
+ .. versionadded:: 3.3
+
+ .. impl-detail::
+
+ This function is specific to CPython. The exact output format is not
+ defined here, and may change.
+
+
.. data:: dllhandle
Integer specifying the handle of the Python DLL. Availability: Windows.