Kaydet (Commit) 05ee1215 authored tarafından Miss Islington (bot)'s avatar Miss Islington (bot) Kaydeden (comit) Mariatta

Asyncion-Dev docs: Fix the reference to sys.excepthook (GH-4414) (GH-4549)

(cherry picked from commit f8802d80)
üst 7b909a93
......@@ -209,9 +209,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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment