File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -179,13 +179,15 @@ slightly different way:
179
179
.. versionadded :: 3.14
180
180
The *commands * argument.
181
181
182
- .. function :: post_mortem(traceback =None)
182
+ .. function :: post_mortem(t =None)
183
183
184
- Enter post-mortem debugging of the given * traceback * object. If no
185
- * traceback * is given, it uses the one of the exception that is currently
186
- being handled (an exception must be being handled if the default is to be
187
- used) .
184
+ Enter post-mortem debugging of the given exception or
185
+ :ref: ` traceback object < traceback-objects >`. If no value is given, it uses
186
+ the exception that is currently being handled, or raises `` ValueError `` if
187
+ there isn’t one .
188
188
189
+ .. versionchanged :: 3.13
190
+ Support for exception objects was added.
189
191
190
192
.. function :: pm()
191
193
You can’t perform that action at this time.
0 commit comments