]> git.madduck.net Git - etc/vim.git/blob - tests/data/preview/async_stmts.py

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

fe9594b216492e983dad24561b563b5ff9466d3f
[etc/vim.git] / tests / data / preview / async_stmts.py
1 async def func() -> (int):
2     return 0
3
4
5 @decorated
6 async def func() -> (int):
7     return 0
8
9
10 async for (item) in async_iter:
11     pass
12
13
14 # output
15
16
17 async def func() -> int:
18     return 0
19
20
21 @decorated
22 async def func() -> int:
23     return 0
24
25
26 async for item in async_iter:
27     pass