We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
GitHub fields:
assignee = None closed_at = <Date 2013-10-13.21:31:15.237> created_at = <Date 2012-12-10.13:33:20.580> labels = ['library'] title = 'traceback.format_tb incorrect docsting' updated_at = <Date 2013-10-13.21:33:43.713> user = 'https://github.com/mgedmin'
bugs.python.org fields:
activity = <Date 2013-10-13.21:33:43.713> actor = 'python-dev' assignee = 'none' closed = True closed_date = <Date 2013-10-13.21:31:15.237> closer = 'python-dev' components = ['Library (Lib)'] creation = <Date 2012-12-10.13:33:20.580> creator = 'mgedmin' dependencies = [] files = ['28276'] hgrepos = [] issue_num = 16657 keywords = ['patch'] message_count = 3.0 messages = ['177288', '199807', '199809'] nosy_count = 2.0 nosy_names = ['mgedmin', 'python-dev'] pr_nums = [] priority = 'normal' resolution = 'fixed' stage = 'resolved' status = 'closed' superseder = None type = None url = 'https://bugs.python.org/issue16657' versions = ['Python 2.7', 'Python 3.5']
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
New changeset e6ab0cd959a0 by Georg Brandl in branch '2.7': Closes bpo-16657: fix docstring of traceback.format_tb(). http://hg.python.org/cpython/rev/e6ab0cd959a0
New changeset dcded8c7af89 by Georg Brandl in branch '3.3': Closes bpo-16657: fix docstring of traceback.format_tb(). http://hg.python.org/cpython/rev/dcded8c7af89
No branches or pull requests
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: