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:
345
345
346
346
(Contributed by Pablo Galindo in :issue:`38530 ` .)
347
347
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
+
348
353
NameErrors
349
354
~~~~~~~~~~
350
355
@@ -362,6 +367,12 @@ was raised from:
362
367
363
368
(Contributed by Pablo Galindo in :issue:`38530 ` .)
364
369
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
+
365
376
PEP 626 : Precise line numbers for debugging and other tools
366
377
---------------------------------------------------------- -
367
378
You can’t perform that action at this time.
0 commit comments