mirror of
https://github.com/python/cpython.git
synced 2024-11-23 18:04:37 +08:00
gh-95913: Add traceback module additions to what's new in 3.11 (GH-95980)
This commit is contained in:
parent
1a720c6003
commit
c5bc67b2a1
@ -825,6 +825,20 @@ time
|
||||
it had a resolution of 1 millisecond (10\ :sup:`-3` seconds).
|
||||
(Contributed by Benjamin Szőke, Dong-hee Na, Eryk Sun and Victor Stinner in :issue:`21302` and :issue:`45429`.)
|
||||
|
||||
|
||||
traceback
|
||||
---------
|
||||
|
||||
* Add :func:`traceback.StackSummary.format_frame_summary` to allow users
|
||||
to override which frames appear in the traceback, and how they are
|
||||
formatted.
|
||||
(Contributed by Ammar Askar in :issue:`44569`.)
|
||||
|
||||
* Add :func:`traceback.TracebackException.print`, which prints the
|
||||
formatted :exc:`~traceback.TracebackException` instance to a file.
|
||||
(Contributed by Irit Katriel in :issue:`33809`.)
|
||||
|
||||
|
||||
typing
|
||||
------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user