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: fix-format_tb-docstring.patch keywords: patch messages: 177288 nosy: mgedmin priority: normal severity: normal status: open title: traceback.format_tb incorrect docsting versions: Python 2.7, Python 3.5 Added file: http://bugs.python.org/file28276/fix-format_tb-docstring.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16657> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com