Skip to content

Commit 034c2d8

Browse files
committed
pythongh-97725: Fix documentation for the default file of asyncio.Task.print_stack (python#101652)
(cherry picked from commit f87f6e2)
1 parent 25196d6 commit 034c2d8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Doc/library/asyncio-task.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1002,7 +1002,7 @@ Task Object
10021002
The *limit* argument is passed to :meth:`get_stack` directly.
10031003

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

10071007
.. method:: get_coro()
10081008

Lines changed: 2 additions & 0 deletions
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)