26 lines
583 B
Python
26 lines
583 B
Python
def some_very_long_name_function() -> my_module.Asdf | my_module.AnotherType | my_module.YetAnotherType | None:
|
|
pass
|
|
|
|
|
|
def some_very_long_name_function() -> my_module.Asdf | my_module.AnotherType | my_module.YetAnotherType | my_module.EvenMoreType | None:
|
|
pass
|
|
|
|
|
|
# output
|
|
|
|
|
|
def some_very_long_name_function() -> (
|
|
my_module.Asdf | my_module.AnotherType | my_module.YetAnotherType | None
|
|
):
|
|
pass
|
|
|
|
|
|
def some_very_long_name_function() -> (
|
|
my_module.Asdf
|
|
| my_module.AnotherType
|
|
| my_module.YetAnotherType
|
|
| my_module.EvenMoreType
|
|
| None
|
|
):
|
|
pass
|