Skip to content

Commit f87f6e2

Browse files
authored
gh-97725: Fix documentation for the default file of asyncio.Task.print_stack (#101652)
1 parent 6fd5eb6 commit f87f6e2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Doc/library/asyncio-task.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1097,7 +1097,7 @@ Task Object
10971097
The *limit* argument is passed to :meth:`get_stack` directly.
10981098

10991099
The *file* argument is an I/O stream to which the output
1100-
is written; by default output is written to :data:`sys.stderr`.
1100+
is written; by default output is written to :data:`sys.stdout`.
11011101

11021102
.. method:: get_coro()
11031103

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Fix :meth:`asyncio.Task.print_stack` description for ``file=None``.
2+
Patch by Oleg Iarygin.

0 commit comments

Comments
 (0)