From 5da12bb9a6c929b344eecf1ed2bda5a6a2564717 Mon Sep 17 00:00:00 2001 From: Svyatoslav Ilinskiy Date: Fri, 23 Jun 2017 15:28:35 -0700 Subject: [PATCH] Update Num stub for typed_ast 2.7 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 28e0dfee3c1c..c4bf4f6b8c35 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