Berker Peksag <berker.pek...@gmail.com> added the comment: The documentation you've quoted is for traceback.extract_tb(). traceback.format_tb() documentation only says:
A shorthand for ``format_list(extract_tb(tb, limit))``. Issue 27910 is about updating the documentation of extract_tb(), format_list(), and StackSummary.from_list(). I'm closing this as a duplicate of issue 27910. ---------- nosy: +berker.peksag resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Doc/library/traceback.rst — references to tuples should be replaced with new FrameSummary object type: -> behavior _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue30984> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com