diff options
author | Oleg Iarygin <oleg@arhadthedev.net> | 2023-02-07 18:04:31 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-07 18:04:31 (GMT) |
commit | f87f6e23964d7a4c38b655089cda65538a24ec36 (patch) | |
tree | 46883dbe753704c832081fb3aab8970ce406e33f | |
parent | 6fd5eb640af19b535f4f2ba27b1b61b8d17f02e9 (diff) | |
download | cpython-f87f6e23964d7a4c38b655089cda65538a24ec36.zip cpython-f87f6e23964d7a4c38b655089cda65538a24ec36.tar.gz cpython-f87f6e23964d7a4c38b655089cda65538a24ec36.tar.bz2 |
gh-97725: Fix documentation for the default file of `asyncio.Task.print_stack` (#101652)
-rw-r--r-- | Doc/library/asyncio-task.rst | 2 | ||||
-rw-r--r-- | Misc/NEWS.d/next/Documentation/2023-02-07-21-43-24.gh-issue-97725.cuY7Cd.rst | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/Doc/library/asyncio-task.rst b/Doc/library/asyncio-task.rst index 3911258..9b98424 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -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() diff --git a/Misc/NEWS.d/next/Documentation/2023-02-07-21-43-24.gh-issue-97725.cuY7Cd.rst b/Misc/NEWS.d/next/Documentation/2023-02-07-21-43-24.gh-issue-97725.cuY7Cd.rst new file mode 100644 index 0000000..fd9ea04 --- /dev/null +++ b/Misc/NEWS.d/next/Documentation/2023-02-07-21-43-24.gh-issue-97725.cuY7Cd.rst @@ -0,0 +1,2 @@ +Fix :meth:`asyncio.Task.print_stack` description for ``file=None``. +Patch by Oleg Iarygin. |