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

Fix --diff output when encountering EOF (#1328)
[etc/vim.git] / tests / data / python38.py
1 #!/usr/bin/env python3.8
2
3
4 def starred_return():
5     my_list = ["value2", "value3"]
6     return "value1", *my_list
7
8
9 def starred_yield():
10     my_list = ["value2", "value3"]
11     yield "value1", *my_list
12
13
14 # output
15
16
17 #!/usr/bin/env python3.8
18
19
20 def starred_return():
21     my_list = ["value2", "value3"]
22     return "value1", *my_list
23
24
25 def starred_yield():
26     my_list = ["value2", "value3"]
27     yield "value1", *my_list