Searched refs:frame_gen (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Lib/ |
D | traceback.py | 314 def extract(klass, frame_gen, *, limit=None, lookup_lines=True, argument 333 frame_gen = itertools.islice(frame_gen, limit) 335 frame_gen = collections.deque(frame_gen, maxlen=-limit) 339 for f, lineno in frame_gen:
|
/external/python/cpython3/Doc/library/ |
D | traceback.rst | 274 .. classmethod:: extract(frame_gen, *, limit=None, lookup_lines=True, capture_locals=False) 280 If *limit* is supplied, only this many frames are taken from *frame_gen*.
|