Use float instead of Union[int, float] (#2308)

This commit is contained in:
Yusuke Miyazaki
2018-07-10 11:02:03 +09:00
committed by Jelle Zijlstra
parent 2a888416b2
commit 5bb58af6c8
5 changed files with 7 additions and 7 deletions

View File

@@ -260,7 +260,7 @@ class Call(expr):
keywords = ... # type: typing.List[keyword]
class Num(expr):
n = ... # type: Union[int, float]
n = ... # type: float
class Str(expr):
s = ... # type: str