-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Update examples to use async and await keywords in asyncio-task.rst #73627
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Attached patch converts all examples that use @coroutine decorator in Doc/library/asyncio-task.rst. I also removed the generator example at https://docs.python.org/3/library/asyncio-task.html#example-coroutine-displaying-the-current-date See bpo-29407 for context. |
The patch is OK to me. I also executed the examples, and everything works fine :-) |
LGTM. Thanks! |
New changeset 514571268743 by Berker Peksag in branch '3.5': New changeset 975e03b0aea6 by Berker Peksag in branch '3.6': New changeset ee074604bf0c by Berker Peksag in branch 'default': |
Thanks for the reviews! |
New changeset dbfbdf9dce7889699e1eb7cc4644a911b16665ec by Berker Peksag in branch '3.6': New changeset f76fb14796715fc5abb5a2b68428b29063c3d48e by Berker Peksag in branch '3.6': |
New changeset dbfbdf9dce7889699e1eb7cc4644a911b16665ec by Berker Peksag in branch 'master': New changeset f76fb14796715fc5abb5a2b68428b29063c3d48e by Berker Peksag in branch 'master': New changeset 38c1fd9055ad58738643325a2c7682d76496f9ed by Berker Peksag in branch 'master': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: