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.
2 from typing import NoReturn, Protocol, Union, overload
10 def a(arg: int) -> int: ...
12 def a(arg: str) -> str: ...
14 def a(arg: object) -> NoReturn: ...
15 def a(arg: Union[int, str, object]) -> Union[int, str]:
16 if not isinstance(arg, (int, str)):
20 class Proto(Protocol):
21 def foo(self, a: int) -> int:
24 def bar(self, b: str) -> str: ...
25 def baz(self, c: bytes) -> str:
39 def b(arg: int) -> int: ...
42 def b(arg: str) -> str: ...
44 def b(arg: object) -> NoReturn: ...
46 def b(arg: Union[int, str, object]) -> Union[int, str]:
47 if not isinstance(arg, (int, str)):
53 from typing import NoReturn, Protocol, Union, overload
61 def a(arg: int) -> int: ...
63 def a(arg: str) -> str: ...
65 def a(arg: object) -> NoReturn: ...
66 def a(arg: Union[int, str, object]) -> Union[int, str]:
67 if not isinstance(arg, (int, str)):
72 class Proto(Protocol):
73 def foo(self, a: int) -> int: ...
75 def bar(self, b: str) -> str: ...
76 def baz(self, c: bytes) -> str: ...
81 def dummy_three(): ...
88 def b(arg: int) -> int: ...
92 def b(arg: str) -> str: ...
94 def b(arg: object) -> NoReturn: ...
97 def b(arg: Union[int, str, object]) -> Union[int, str]:
98 if not isinstance(arg, (int, str)):