[issue30984] traceback.print_exc return value documentation

Berker Peksag report at bugs.python.org
Thu Aug 2 11:57:41 EDT 2018


Berker Peksag <berker.peksag at 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 <report at bugs.python.org>
<https://bugs.python.org/issue30984>
_______________________________________


More information about the Python-bugs-list mailing list