File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -1915,12 +1915,13 @@ def get_proper_type(typ: Optional[Type]) -> Optional[ProperType]:
1915
1915
1916
1916
1917
1917
@overload
1918
- def get_proper_types (it : Iterable [Type ]) -> List [ProperType ]: ...
1918
+ def get_proper_types (it : Iterable [Type ]) -> List [ProperType ]: ... # type: ignore[misc]
1919
1919
@overload
1920
- def get_proper_types (typ : Iterable [Optional [Type ]]) -> List [Optional [ProperType ]]: ...
1920
+ def get_proper_types (it : Iterable [Optional [Type ]]) -> List [Optional [ProperType ]]: ...
1921
1921
1922
1922
1923
- def get_proper_types (it : Iterable [Optional [Type ]]) -> List [Optional [ProperType ]]: # type: ignore
1923
+ def get_proper_types (it : Iterable [Optional [Type ]]
1924
+ ) -> Union [List [ProperType ], List [Optional [ProperType ]]]:
1924
1925
return [get_proper_type (t ) for t in it ]
1925
1926
1926
1927
You can’t perform that action at this time.
0 commit comments