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

@@ -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