Lines Matching refs:list
22 """Print the list of tuples as returned by extract_tb() or
30 """Format a list of tuples or FrameSummary objects for printing.
32 Given a list of tuples or FrameSummary objects as returned by
33 extract_tb() or extract_stack(), return a list of strings ready
36 Each string in the resulting list corresponds to the item with the
37 same index in the argument list. Each string ends in a newline;
63 Return a StackSummary object representing a list of
133 to print_exception(). The return value is a list of strings, each
140 return list(te.format(chain=chain))
146 The return value is a list of strings, each ending in a newline.
148 Normally, the list contains a single string; however, for
154 string in the list.
160 return list(te.format_exception_only())
225 print_stack(). Each item in the list is a quadruple (filename,
372 class StackSummary(list):
373 """A list of FrameSummary objects, representing a stack of frames."""
442 Create a StackSummary object from a supplied list of
443 FrameSummary objects or old-style list of tuples.
516 Returns a list of strings ready for printing. Each string in the
517 resulting list corresponds to a single frame from the stack.
656 - :attr:`exceptions` For exception groups - a list of TracebackException