diff options
author | Oleg Iarygin <oleg@arhadthedev.net> | 2023-02-08 10:02:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 10:02:54 (GMT) |
commit | 7d727518bed1aa2b46c269a6cf4f0856ad2fe848 (patch) | |
tree | a82f650f9a36cb2e6a8a5b2b3ea9ca6f94c10d51 | |
parent | d7c60e361f2d40a87f5a257691b6c18d819b3298 (diff) | |
download | cpython-7d727518bed1aa2b46c269a6cf4f0856ad2fe848.zip cpython-7d727518bed1aa2b46c269a6cf4f0856ad2fe848.tar.gz cpython-7d727518bed1aa2b46c269a6cf4f0856ad2fe848.tar.bz2 |
[3.10] gh-97725: Fix documentation for the default file of `asyncio.Task.print_stack` (#101652) (#101654)
(cherry picked from commit f87f6e23964d7a4c38b655089cda65538a24ec36)
-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 5608022..d7e13ea 100644 --- a/Doc/library/asyncio-task.rst +++ b/Doc/library/asyncio-task.rst @@ -1002,7 +1002,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. |