]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-27910: Update documentation of traceback module (GH-6116)
authortorsava <torsava@redhat.com>
Thu, 2 Aug 2018 16:08:59 +0000 (17:08 +0100)
committerBerker Peksag <berker.peksag@gmail.com>
Thu, 2 Aug 2018 16:08:59 +0000 (19:08 +0300)
commitf394ee5eaf6d6d8f45e0478e77d4dbff25c6bea7
treea831438f83a8e342677aa91c6c61452ba40df85d
parenta2fe1e52eb94c41d9ebce1ab284180d7b1faa2a4
bpo-27910: Update documentation of traceback module (GH-6116)

In the documentation for the traceback module, the definitions of functions
extract_tb(), format_list() and classmethod StackSummary.from_list()
mention the old style 4-tuples that these functions used to return or accept.

Since Python 3.5, however, they return or accept a FrameSummary object
instead of a 4-tuple, or a StackSummary object instead of a list of 4-tuples.

Co-Authored-By: Berker Peksag <berker.peksag@gmail.com>
Doc/library/traceback.rst
Lib/traceback.py