Roundup Robot added the comment:
New changeset e6ab0cd959a0 by Georg Brandl in branch '2.7':
Closes #16657: fix docstring of traceback.format_tb().
http://hg.python.org/cpython/rev/e6ab0cd959a0
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
status: open - closed
Roundup Robot added the comment:
New changeset dcded8c7af89 by Georg Brandl in branch '3.3':
Closes #16657: fix docstring of traceback.format_tb().
http://hg.python.org/cpython/rev/dcded8c7af89
--
___
Python tracker rep...@bugs.python.org
New submission from Marius Gedminas:
The docstring for traceback.format_tb says
A shorthand for 'format_list(extract_stack(f, limit)).
which is incorrect -- it's actually a shorthand for format_list(extract_tb(tb,
limit)).
Patch attached.
--
components: Library (Lib)
files: