Skip to content

Commit ee5e3af

Browse files
ilinumJelleZijlstra
authored andcommitted
Update Num stub for typed_ast 2.7 (#1430)
Field `n` should be a `Union[int, float, complex]`, not just `Union[int, float]`
1 parent 5306d6f commit ee5e3af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

third_party/3/typed_ast/ast27.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ class Repr(expr):
242242
value = ... # type: expr
243243

244244
class Num(expr):
245-
n = ... # type: Union[int, float]
245+
n = ... # type: Union[int, float, complex]
246246

247247
class Str(expr):
248248
s = ... # type: bytes

0 commit comments

Comments
 (0)