diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-11-25 23:45:47 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-11-25 23:45:47 (GMT) |
commit | 8e3708d88ba868eb2d915f0793c0bc0bb5f58b50 (patch) | |
tree | 36893b377fd02211512269ee557ba526479afb84 /Doc | |
parent | 00773df9f30f10fddef40fec13827cca8a1b21bc (diff) | |
download | cpython-8e3708d88ba868eb2d915f0793c0bc0bb5f58b50.zip cpython-8e3708d88ba868eb2d915f0793c0bc0bb5f58b50.tar.gz cpython-8e3708d88ba868eb2d915f0793c0bc0bb5f58b50.tar.bz2 |
Issue #18874: allow to call tracemalloc.Snapshot.statistics(cumulative=True)
with traceback_limit=1
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/tracemalloc.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/tracemalloc.rst b/Doc/library/tracemalloc.rst index 2e1902e..be716e9 100644 --- a/Doc/library/tracemalloc.rst +++ b/Doc/library/tracemalloc.rst @@ -479,8 +479,7 @@ Snapshot If *cumulative* is ``True``, cumulate size and count of memory blocks of all frames of the traceback of a trace, not only the most recent frame. The cumulative mode can only be used with *group_by* equals to - ``'filename'`` and ``'lineno'`` and :attr:`traceback_limit` greater than - ``1``. + ``'filename'`` and ``'lineno'``. The result is sorted from the biggest to the smallest by: :attr:`Statistic.size`, :attr:`Statistic.count` and then by |