Skip to content

Commit

Permalink
[3.11] gh-97725: Fix documentation for the default file of `asyncio.T…
Browse files Browse the repository at this point in the history
…ask.print_stack` (#101652) (#101653)

(cherry picked from commit f87f6e2)
  • Loading branch information
arhadthedev authored Feb 8, 2023
1 parent d0ff3d9 commit fa90671
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/asyncio-task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ Task Object
The *limit* argument is passed to :meth:`get_stack` directly.

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

.. method:: get_coro()

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

0 comments on commit fa90671

Please sign in to comment.