We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
traceback.print_list
1 parent f19c50a commit 8e3c2d2Copy full SHA for 8e3c2d2
Doc/library/traceback.rst
@@ -157,6 +157,13 @@ Module-Level Functions
157
arguments have the same meaning as for :func:`print_stack`.
158
159
160
+.. function:: print_list(extracted_list, file=None)
161
+
162
+ Print the list of tuples as returned by :func:`extract_tb` or
163
+ :func:`extract_stack` as a formatted stack trace to the given file.
164
+ If *file* is ``None``, the output is written to :data:`sys.stderr`.
165
166
167
.. function:: format_list(extracted_list)
168
169
Given a list of tuples or :class:`FrameSummary` objects as returned by
0 commit comments