Repository navigation
Update examples to use async and await keywords in asyncio-task.rst #73627
Description
Activity
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.
- addeddocsDocumentation in the Doc dirDocumentation in the Doc dirtype-featureA feature request or enhancementA feature request or enhancement
on Feb 4, 2017 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':
Issue bpo-29441: Update examples to use async and await keywords in asyncio-task.rst
https://hg.python.org/cpython/rev/514571268743New changeset 975e03b0aea6 by Berker Peksag in branch '3.6':
Issue bpo-29441: Merge from 3.5
https://hg.python.org/cpython/rev/975e03b0aea6New changeset ee074604bf0c by Berker Peksag in branch 'default':
Issue bpo-29441: Merge from 3.6
https://hg.python.org/cpython/rev/ee074604bf0cThanks for the reviews!
New changeset dbfbdf9dce7889699e1eb7cc4644a911b16665ec by Berker Peksag in branch '3.6':
Issue bpo-29441: Update examples to use async and await keywords in asyncio-task.rst
dbfbdf9New changeset f76fb14796715fc5abb5a2b68428b29063c3d48e by Berker Peksag in branch '3.6':
Issue bpo-29441: Merge from 3.5
f76fb14New changeset dbfbdf9dce7889699e1eb7cc4644a911b16665ec by Berker Peksag in branch 'master':
Issue bpo-29441: Update examples to use async and await keywords in asyncio-task.rst
dbfbdf9New changeset f76fb14796715fc5abb5a2b68428b29063c3d48e by Berker Peksag in branch 'master':
Issue bpo-29441: Merge from 3.5
f76fb14New changeset 38c1fd9055ad58738643325a2c7682d76496f9ed by Berker Peksag in branch 'master':
Issue bpo-29441: Merge from 3.6
38c1fd9
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: