Issue #19818: tracemalloc, the number of frame limit cannot be zero anymore

This commit is contained in:
Victor Stinner 2013-11-27 23:39:55 +01:00
parent a5062c5d81
commit 5362abf4ec

View file

@ -391,9 +391,9 @@ Filter
If *all_frames* is ``True``, all frames of the traceback are checked. If
*all_frames* is ``False``, only the most recent frame is checked.
This attribute is ignored if the traceback limit is less than ``2``. See
the :func:`get_traceback_limit` function and
:attr:`Snapshot.traceback_limit` attribute.
This attribute has no effect if the traceback limit is ``1``. See the
:func:`get_traceback_limit` function and :attr:`Snapshot.traceback_limit`
attribute.
Frame