gh-86513: improve docs of loop.call_exception_handler (#132466)

This commit is contained in:
Kumar Aditya 2025-04-14 03:09:24 +05:30 committed by GitHub
parent 887eabc5a7
commit ce753517a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

View file

@ -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.

View file

@ -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.