]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-125289: Update sample code in asyncio-task.rst (GH-125292) (GH-125375)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 12 Oct 2024 20:44:41 +0000 (22:44 +0200)
committerGitHub <noreply@github.com>
Sat, 12 Oct 2024 20:44:41 +0000 (20:44 +0000)
commit1d45fae26dacd9c07d4a57831e224073ef56cbe7
tree7911ee90b9c4b40e65b8f779c221ec99f2cdb5a1
parent331fc017ce6afdf778464f6e9540670bb6a0fa4f
[3.12] gh-125289: Update sample code in asyncio-task.rst (GH-125292) (GH-125375)

gh-125289: Update sample code in asyncio-task.rst (GH-125292)

* Update sample code in asyncio-task.rst

This will change **coroutines** sample code in the **Awaitables** section and make the example clearer.

* Update Doc/library/asyncio-task.rst

Revert the added print

* Update Doc/library/asyncio-task.rst

---------

(cherry picked from commit fa52b82c91a8e1a0971bd5fef656473ec93f41e3)

Co-authored-by: Ghorban M. Tavakoly <58617996+galmyk@users.noreply.github.com>
Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
Doc/library/asyncio-task.rst