]> git.madduck.net Git - etc/vim.git/blob - tests/data/async_as_identifier.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:

prepare release 21.11b0 (#2616)
[etc/vim.git] / tests / data / async_as_identifier.py
1 def async():
2     pass
3
4
5 def await():
6     pass
7
8
9 await = lambda: None
10 async = lambda: None
11 async()
12 await()
13
14
15 def sync_fn():
16     await = lambda: None
17     async = lambda: None
18     async()
19     await()
20
21
22 async def async_fn():
23     await async_fn()
24
25
26 # output
27 def async():
28     pass
29
30
31 def await():
32     pass
33
34
35 await = lambda: None
36 async = lambda: None
37 async()
38 await()
39
40
41 def sync_fn():
42     await = lambda: None
43     async = lambda: None
44     async()
45     await()
46
47
48 async def async_fn():
49     await async_fn()