Skip to content

Commit

Permalink
Update mypy/suggestions.py
Browse files Browse the repository at this point in the history
Co-Authored-By: Ivan Levkivskyi <levkivskyi@gmail.com>
  • Loading branch information
msullivan and ilevkivskyi authored Nov 2, 2019
1 parent c7987c4 commit 1fa48db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy/suggestions.py
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ def refine_type(ti: Type, si: Type) -> Type:
refine(Optional[Any], int) = Optional[int]
refine(Optional[Any], Optional[int]) = Optional[int]
refine(Optional[Any], Union[int, str]) = Optional[Union[int, str]]
refine(Optional[List[Any]], List[int]) = List[int]
refine(Optional[List[Any]], List[int]) = Optional[List[int]]
"""
t = get_proper_type(ti)
Expand Down

0 comments on commit 1fa48db

Please sign in to comment.