mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-31 16:44:25 +08:00
Use float instead of Union[int, float] (#2308)
This commit is contained in:
committed by
Jelle Zijlstra
parent
2a888416b2
commit
5bb58af6c8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user