From 001c20cbc3a6275ab1be98cf81a67702f91f165e Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Fri, 26 Nov 2010 16:53:24 +0100 Subject: [PATCH] missing import --- Cython/Compiler/ParseTreeTransforms.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cython/Compiler/ParseTreeTransforms.py b/Cython/Compiler/ParseTreeTransforms.py index a6047d77..dba582f0 100644 --- a/Cython/Compiler/ParseTreeTransforms.py +++ b/Cython/Compiler/ParseTreeTransforms.py @@ -2,7 +2,7 @@ import cython from cython import set cython.declare(copy=object, ModuleNode=object, TreeFragment=object, TemplateTransform=object, - EncodedString=object, error=object, PyrexTypes=object, Naming=object) + EncodedString=object, error=object, warning=object, PyrexTypes=object, Naming=object) from Cython.Compiler.Visitor import VisitorTransform, TreeVisitor from Cython.Compiler.Visitor import CythonTransform, EnvTransform, ScopeTrackingTransform @@ -12,7 +12,7 @@ from Cython.Compiler.ExprNodes import * from Cython.Compiler.UtilNodes import * from Cython.Compiler.TreeFragment import TreeFragment, TemplateTransform from Cython.Compiler.StringEncoding import EncodedString -from Cython.Compiler.Errors import error, CompileError +from Cython.Compiler.Errors import error, warning, CompileError from Cython.Compiler import PyrexTypes, Naming import copy -- 2.26.2