File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -345,6 +345,11 @@ raised from:
345345
346346(Contributed by Pablo Galindo in :issue:`38530 ` .)
347347
348+ .. warning::
349+ Notice this won' t work if :c:func:`PyErr_Display` is not called to display the error
350+ which can happen if some other custom error display function is used. This is a common
351+ scenario in some REPLs like IPython.
352+
348353NameErrors
349354~~~~~~~~~~
350355
@@ -362,6 +367,12 @@ was raised from:
362367
363368(Contributed by Pablo Galindo in :issue:`38530 ` .)
364369
370+ .. warning::
371+ Notice this won' t work if :c:func:`PyErr_Display` is not called to display the error,
372+ which can happen if some other custom error display function is used. This is a common
373+ scenario in some REPLs like IPython.
374+
375+
365376PEP 626 : Precise line numbers for debugging and other tools
366377---------------------------------------------------------- -
367378
You can’t perform that action at this time.
0 commit comments