Skip to content

Commit fd0bba6

Browse files
[3.13] gh-86513: improve docs of loop.call_exception_handler (GH-132466) (#132487)
gh-86513: improve docs of loop.call_exception_handler (GH-132466) (cherry picked from commit ce75351) Co-authored-by: Kumar Aditya <[email protected]>
1 parent 5f1eaff commit fd0bba6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Doc/library/asyncio-eventloop.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,6 +1427,8 @@ Allows customizing how exceptions are handled in the event loop.
14271427
* 'protocol' (optional): :ref:`Protocol <asyncio-protocol>` instance;
14281428
* 'transport' (optional): :ref:`Transport <asyncio-transport>` instance;
14291429
* 'socket' (optional): :class:`socket.socket` instance;
1430+
* 'source_traceback' (optional): Traceback of the source;
1431+
* 'handle_traceback' (optional): Traceback of the handle;
14301432
* 'asyncgen' (optional): Asynchronous generator that caused
14311433
the exception.
14321434

Lib/asyncio/base_events.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1877,6 +1877,8 @@ def call_exception_handler(self, context):
18771877
- 'protocol' (optional): Protocol instance;
18781878
- 'transport' (optional): Transport instance;
18791879
- 'socket' (optional): Socket instance;
1880+
- 'source_traceback' (optional): Traceback of the source;
1881+
- 'handle_traceback' (optional): Traceback of the handle;
18801882
- 'asyncgen' (optional): Asynchronous generator that caused
18811883
the exception.
18821884

0 commit comments

Comments
 (0)