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

Update output display to job summary (#3914)
[etc/vim.git] / tests / data / simple_cases / pep_604.py
1 def some_very_long_name_function() -> my_module.Asdf | my_module.AnotherType | my_module.YetAnotherType | None:
2     pass
3
4
5 def some_very_long_name_function() -> my_module.Asdf | my_module.AnotherType | my_module.YetAnotherType | my_module.EvenMoreType | None:
6     pass
7
8
9 # output
10
11
12 def some_very_long_name_function() -> (
13     my_module.Asdf | my_module.AnotherType | my_module.YetAnotherType | None
14 ):
15     pass
16
17
18 def some_very_long_name_function() -> (
19     my_module.Asdf
20     | my_module.AnotherType
21     | my_module.YetAnotherType
22     | my_module.EvenMoreType
23     | None
24 ):
25     pass