Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion Doc/library/asyncio-task.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ Coroutines

Coroutines declared with async/await syntax is the preferred way of
writing asyncio applications. For example, the following snippet
of code prints "hello", waits 1 second, and then prints "world"::
of code (requires Python 3.7+) prints "hello", waits 1 second,
and then prints "world"::

>>> import asyncio

Expand Down
2 changes: 1 addition & 1 deletion Doc/library/asyncio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

.. sidebar:: Hello World!

.. code-block:: python
::

import asyncio

Expand Down