mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-27 22:31:12 +08:00
Update Num stub for typed_ast 2.7 (#1430)
Field `n` should be a `Union[int, float, complex]`, not just `Union[int, float]`
This commit is contained in:
committed by
Jelle Zijlstra
parent
5306d6f5a7
commit
ee5e3affe1
2
third_party/3/typed_ast/ast27.pyi
vendored
2
third_party/3/typed_ast/ast27.pyi
vendored
@@ -242,7 +242,7 @@ class Repr(expr):
|
||||
value = ... # type: expr
|
||||
|
||||
class Num(expr):
|
||||
n = ... # type: Union[int, float]
|
||||
n = ... # type: Union[int, float, complex]
|
||||
|
||||
class Str(expr):
|
||||
s = ... # type: bytes
|
||||
|
||||
Reference in New Issue
Block a user