Skip to content

Commit

Permalink
Asyncion-Dev docs: Fix the reference to sys.excepthook (GH-4414)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashwoods authored and Mariatta committed Nov 24, 2017
1 parent f04ebe2 commit f8802d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Doc/library/asyncio-dev.rst
Expand Up @@ -216,9 +216,9 @@ The fix is to call the :func:`ensure_future` function or the
Detect exceptions never consumed
--------------------------------

Python usually calls :func:`sys.displayhook` on unhandled exceptions. If
Python usually calls :func:`sys.excepthook` on unhandled exceptions. If
:meth:`Future.set_exception` is called, but the exception is never consumed,
:func:`sys.displayhook` is not called. Instead, :ref:`a log is emitted
:func:`sys.excepthook` is not called. Instead, :ref:`a log is emitted
<asyncio-logger>` when the future is deleted by the garbage collector, with the
traceback where the exception was raised.

Expand Down

0 comments on commit f8802d8

Please sign in to comment.