blob: ebbedbde36febe0cea639ed8fb5aeee491488898 (
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.abc
import asyncio
isinstance([], collections.abc.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]
|