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

+2 -2
View File
@@ -1,5 +1,5 @@
import typing
from typing import Optional, Union
from typing import Optional
__version__ = ... # type: str
@@ -215,7 +215,7 @@ class Repr(expr):
value = ... # type: expr
class Num(expr):
n = ... # type: Union[int, float]
n = ... # type: float
class Str(expr):
s = ... # type: str