File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -740,12 +740,12 @@ Traceback
740
740
741
741
.. method :: format(limit=None, most_recent_first=False)
742
742
743
- Format the traceback as a list of lines with newlines . Use the
744
- :mod: ` linecache ` module to retrieve lines from the source code.
745
- If * limit * is set, format the *limit * most recent frames if * limit *
746
- is positive. Otherwise, format the ``abs(limit) `` oldest frames.
747
- If * most_recent_first * is `` True ``, the order of the formatted frames
748
- is reversed, returning the most recent frame first instead of last.
743
+ Format the traceback as a list of lines. Use the :mod: ` linecache ` module to
744
+ retrieve lines from the source code. If * limit * is set, format the * limit *
745
+ most recent frames if *limit * is positive. Otherwise, format the
746
+ ``abs(limit) `` oldest frames. If * most_recent_first * is `` True ``, the order
747
+ of the formatted frames is reversed, returning the most recent frame first
748
+ instead of last.
749
749
750
750
Similar to the :func: `traceback.format_tb ` function, except that
751
751
:meth: `.format ` does not include newlines.
You can’t perform that action at this time.
0 commit comments