blob: 8d59b7d800c8c74a8e52e341210608571aeff37d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# pylint: disable=missing-docstring
import collections
import asyncio
isinstance([], collections.Iterable)
async def gen():
await asyncio.sleep(0.1)
value = yield 42
print(value)
await asyncio.sleep(0.2)
async def test():
generator = gen()
await generator.asend(None)
await generator.send(None) # [no-member]
|