From ee5e3affe1bef4085d162bfe31e5491c50ca1a08 Mon Sep 17 00:00:00 2001 From: Svyatoslav Ilinskiy Date: Fri, 23 Jun 2017 16:43:23 -0700 Subject: [PATCH] Update Num stub for typed_ast 2.7 (#1430) Field `n` should be a `Union[int, float, complex]`, not just `Union[int, float]` --- third_party/3/typed_ast/ast27.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/third_party/3/typed_ast/ast27.pyi b/third_party/3/typed_ast/ast27.pyi index 28e0dfee3..c4bf4f6b8 100644 --- a/third_party/3/typed_ast/ast27.pyi +++ b/third_party/3/typed_ast/ast27.pyi @@ -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