Issue 16657: traceback.format_tb incorrect docsting (original) (raw)

Issue16657

Created on 2012-12-10 13:33 by mgedmin, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
fix-format_tb-docstring.patch mgedmin,2012-12-10 13:33 patch review
Messages (3)
msg177288 - (view) Author: Marius Gedminas (mgedmin) * Date: 2012-12-10 13:33
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.
msg199807 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-10-13 21:31
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
msg199809 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-10-13 21:33
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
History
Date User Action Args
2022-04-11 14:57:39 admin set github: 60861
2013-10-13 21:33:43 python-dev set messages: +
2013-10-13 21:31:15 python-dev set status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved
2012-12-10 13:33:20 mgedmin create