mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-86513: improve docs of loop.call_exception_handler (#132466)
This commit is contained in:
parent
887eabc5a7
commit
ce753517a8
2 changed files with 4 additions and 0 deletions
|
@ -1440,6 +1440,8 @@ Allows customizing how exceptions are handled in the event loop.
|
|||
* 'protocol' (optional): :ref:`Protocol <asyncio-protocol>` instance;
|
||||
* 'transport' (optional): :ref:`Transport <asyncio-transport>` instance;
|
||||
* 'socket' (optional): :class:`socket.socket` instance;
|
||||
* 'source_traceback' (optional): Traceback of the source;
|
||||
* 'handle_traceback' (optional): Traceback of the handle;
|
||||
* 'asyncgen' (optional): Asynchronous generator that caused
|
||||
the exception.
|
||||
|
||||
|
|
|
@ -1879,6 +1879,8 @@ class BaseEventLoop(events.AbstractEventLoop):
|
|||
- 'protocol' (optional): Protocol instance;
|
||||
- 'transport' (optional): Transport instance;
|
||||
- 'socket' (optional): Socket instance;
|
||||
- 'source_traceback' (optional): Traceback of the source;
|
||||
- 'handle_traceback' (optional): Traceback of the handle;
|
||||
- 'asyncgen' (optional): Asynchronous generator that caused
|
||||
the exception.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue