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

This commit is contained in:
Yusuke Miyazaki authored and Jelle Zijlstra committed 2018-07-09 19:02:03 -07:00
1 parent 2a888416b2
commit 5bb58af6c8
5 files changed
+7 -7

No files matched your search

+1 -1
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