[docs] [issue26035] traceback.print_tb() takes `tb`, not `traceback` as a keyword argument
Martin Panter
report at bugs.python.org
Thu Jan 7 01:13:07 EST 2016
Martin Panter added the comment:
According to the history, the parameter was always called “tb” in the implementation <https://hg.python.org/cpython/annotate/93df83022be8/Lib/traceback.py#l7>, and the documentation always had it wrong <https://hg.python.org/cpython/annotate/1c29f6bdd898/Doc/lib/libtraceback.tex#l18>. So I would change the documentation to “tb”.
It looks like other functions in this module have the wrong parameter names also.
----------
nosy: +martin.panter
stage: -> needs patch
versions: +Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26035>
_______________________________________
More information about the docs
mailing list