summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-11-27 20:39:49 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-11-27 20:39:49 (GMT)
commit3c0481d426d4c2953ade7371748486b8669c9d8b (patch)
treecd282fae02ca2a401c05c70b4fbffb1e004e80e1 /Doc
parentcced076218b057067294f91f07df784aff8ea774 (diff)
downloadcpython-3c0481d426d4c2953ade7371748486b8669c9d8b.zip
cpython-3c0481d426d4c2953ade7371748486b8669c9d8b.tar.gz
cpython-3c0481d426d4c2953ade7371748486b8669c9d8b.tar.bz2
Close #19798: replace "maximum" term with "peak" in get_traced_memory()
documentation. Use also the term "current" for the current size.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/tracemalloc.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/tracemalloc.rst b/Doc/library/tracemalloc.rst
index be716e9..82d997a 100644
--- a/Doc/library/tracemalloc.rst
+++ b/Doc/library/tracemalloc.rst
@@ -276,8 +276,8 @@ Functions
.. function:: get_traced_memory()
- Get the current size and maximum size of memory blocks traced by the
- :mod:`tracemalloc` module as a tuple: ``(size: int, max_size: int)``.
+ Get the current size and peak size of memory blocks traced by the
+ :mod:`tracemalloc` module as a tuple: ``(current: int, peak: int)``.
.. function:: get_tracemalloc_memory()