diff options
author | Martin Fischer <martin@push-f.com> | 2022-02-24 08:46:14 +0100 |
---|---|---|
committer | Martin Fischer <martin@push-f.com> | 2022-02-24 08:46:23 +0100 |
commit | 92ad22ca77833d5c5c8841ece9368a6843e20c8d (patch) | |
tree | 2b12f3e97984452bdc2178c1939908cdc5155878 /puzzles/50_typevar_constrained.py | |
parent | 80aec5a0e58ff0c04423fedb244a35717f680821 (diff) |
checkers: merge table cells if mypy & mypy --strict give same result
Diffstat (limited to 'puzzles/50_typevar_constrained.py')
-rw-r--r-- | puzzles/50_typevar_constrained.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/puzzles/50_typevar_constrained.py b/puzzles/50_typevar_constrained.py index 50ce10a..4cff369 100644 --- a/puzzles/50_typevar_constrained.py +++ b/puzzles/50_typevar_constrained.py @@ -5,5 +5,5 @@ V = TypeVar("V", str, bytes) def check_v(x: Union[V, list[V]]) -> V: raise NotImplementedError() -def foo(a: list[Any]): +def foo(a: list[Any]) -> None: check_v(a) |