We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f04ebe2 commit f8802d8Copy full SHA for f8802d8
Doc/library/asyncio-dev.rst
@@ -216,9 +216,9 @@ The fix is to call the :func:`ensure_future` function or the
216
Detect exceptions never consumed
217
--------------------------------
218
219
-Python usually calls :func:`sys.displayhook` on unhandled exceptions. If
+Python usually calls :func:`sys.excepthook` on unhandled exceptions. If
220
:meth:`Future.set_exception` is called, but the exception is never consumed,
221
-:func:`sys.displayhook` is not called. Instead, :ref:`a log is emitted
+:func:`sys.excepthook` is not called. Instead, :ref:`a log is emitted
222
<asyncio-logger>` when the future is deleted by the garbage collector, with the
223
traceback where the exception was raised.
224
0 commit comments