Commit b042cf10 authored by Yury Selivanov's avatar Yury Selivanov Committed by GitHub

bpo-33649: Fix markup; add another note that asyncio.run is 3.7+ (GH-9389)

parent e0c19ddc
......@@ -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
......
......@@ -8,7 +8,7 @@
.. sidebar:: Hello World!
.. code-block:: python
::
import asyncio
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment