use absolute imports in Visitor.py
authorStefan Behnel <stefan_ml@behnel.de>
Fri, 26 Jul 2013 09:20:22 +0000 (11:20 +0200)
committerStefan Behnel <stefan_ml@behnel.de>
Fri, 26 Jul 2013 09:20:22 +0000 (11:20 +0200)
Cython/Compiler/Visitor.py

index 9f2c961..df468c4 100644 (file)
@@ -4,15 +4,17 @@
 #   Tree visitor and transform framework
 #
 import inspect
-import TypeSlots
-import Builtin
-import Nodes
-import ExprNodes
-import Errors
-import DebugFlags
+
+from Cython.Compiler import TypeSlots
+from Cython.Compiler import Builtin
+from Cython.Compiler import Nodes
+from Cython.Compiler import ExprNodes
+from Cython.Compiler import Errors
+from Cython.Compiler import DebugFlags
 
 import cython
 
+
 class TreeVisitor(object):
     """
     Base class for writing visitors for a Cython tree, contains utilities for