[Python-checkins] cpython (3.4): #22613: fix heading levels in tracemalloc docs (thanks Jacques Ducasse)
georg.brandl
python-checkins at python.org
Fri Oct 31 10:39:44 CET 2014
https://hg.python.org/cpython/rev/307fd58b9694
changeset: 93309:307fd58b9694
branch: 3.4
user: Georg Brandl <georg at python.org>
date: Fri Oct 31 10:21:07 2014 +0100
summary:
#22613: fix heading levels in tracemalloc docs (thanks Jacques Ducasse)
files:
Doc/library/tracemalloc.rst | 28 ++++++++++++------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/Doc/library/tracemalloc.rst b/Doc/library/tracemalloc.rst
--- a/Doc/library/tracemalloc.rst
+++ b/Doc/library/tracemalloc.rst
@@ -27,10 +27,10 @@
Examples
-========
+--------
Display the top 10
-------------------
+^^^^^^^^^^^^^^^^^^
Display the 10 files allocating the most memory::
@@ -70,7 +70,7 @@
Compute differences
--------------------
+^^^^^^^^^^^^^^^^^^^
Take two snapshots and display the differences::
@@ -114,7 +114,7 @@
Get the traceback of a memory block
------------------------------------
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Code to display the traceback of the biggest memory block::
@@ -179,7 +179,7 @@
Pretty top
-----------
+^^^^^^^^^^
Code to display the 10 lines allocating the most memory with a pretty output,
ignoring ``<frozen importlib._bootstrap>`` and ``<unknown>`` files::
@@ -249,10 +249,10 @@
API
-===
+---
Functions
----------
+^^^^^^^^^
.. function:: clear_traces()
@@ -356,7 +356,7 @@
Filter
-------
+^^^^^^
.. class:: Filter(inclusive: bool, filename_pattern: str, lineno: int=None, all_frames: bool=False)
@@ -404,7 +404,7 @@
Frame
------
+^^^^^
.. class:: Frame
@@ -422,7 +422,7 @@
Snapshot
---------
+^^^^^^^^
.. class:: Snapshot
@@ -508,7 +508,7 @@
Statistic
----------
+^^^^^^^^^
.. class:: Statistic
@@ -533,7 +533,7 @@
StatisticDiff
--------------
+^^^^^^^^^^^^^
.. class:: StatisticDiff
@@ -572,7 +572,7 @@
Trace
------
+^^^^^
.. class:: Trace
@@ -592,7 +592,7 @@
Traceback
----------
+^^^^^^^^^
.. class:: Traceback
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list