File: async.py

package info (click to toggle)
python-pegen 0.3.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,980 kB
  • sloc: python: 15,064; makefile: 89
file content (21 lines) | stat: -rw-r--r-- 239 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
async def f():
    pass


async def f():
    await b


async def f():
    async for i in range(10):
        pass


async def f():
    async with open(f) as p:
        pass


async def f():
    a = [i async for i in range(10)]
    return a