From: Stefan Behnel Date: Fri, 26 Nov 2010 15:53:24 +0000 (+0100) Subject: missing import X-Git-Tag: 0.14.alpha0~59 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=001c20cbc3a6275ab1be98cf81a67702f91f165e;p=cython.git missing import --- 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