summaryrefslogtreecommitdiff
path: root/Lib/contextlib.py
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2020-11-05 15:18:44 -0700
committerGitHub <noreply@github.com>2020-11-05 22:18:44 +0000
commit91e93794d5dd1aa91fbe142099c2955e0c4c1660 (patch)
treedf0294cde2ffeabdb5fcbdc2107712fe1fd2b117 /Lib/contextlib.py
parentdc42af8fd16b10127ce1fc93c13bc1bfd2674aa2 (diff)
downloadcpython-git-91e93794d5dd1aa91fbe142099c2955e0c4c1660.tar.gz
bpo-26389: Allow passing an exception object in the traceback module (GH-22610)
The format_exception(), format_exception_only(), and print_exception() functions can now take an exception object as a positional-only argument. Co-Authored-By: Matthias Bussonnier <bussonniermatthias@gmail.com>
Diffstat (limited to 'Lib/contextlib.py')
0 files changed, 0 insertions, 0 deletions