Skip to content

Commit d23dfb6

Browse files
committed
update docs for traceback
1 parent 0e570d0 commit d23dfb6

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Doc/library/traceback.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ The module defines the following functions:
202202

203203
.. versionadded:: 3.4
204204

205+
.. versionchanged:: 3.13
206+
Suspended frames are no cleared.
207+
205208
.. function:: walk_stack(f)
206209

207210
Walk a stack following ``f.f_back`` from the given frame, yielding the frame

Doc/whatsnew/3.13.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,9 @@ traceback
277277
to format the nested exceptions of a :exc:`BaseExceptionGroup` instance, recursively.
278278
(Contributed by Irit Katriel in :gh:`105292`.)
279279

280+
* :meth:`traceback.clear_frames` no longer clears suspended frames.
281+
(Contributed by Irit Katriel in :gh:`111792`.)
282+
280283
typing
281284
------
282285

0 commit comments

Comments
 (0)