Commit bdcf0f26 authored by Stefan Behnel's avatar Stefan Behnel

more import cleanups

parent eeeb039f
from Cython.Compiler.Visitor import TreeVisitor
from Cython.Compiler.Nodes import *
from Cython.Compiler.ExprNodes import *
""" """
Serializes a Cython code tree to Cython code. This is primarily useful for Serializes a Cython code tree to Cython code. This is primarily useful for
debugging and testing purposes. debugging and testing purposes.
...@@ -10,6 +6,9 @@ The output is in a strict format, no whitespace or comments from the input ...@@ -10,6 +6,9 @@ The output is in a strict format, no whitespace or comments from the input
is preserved (and it could not be as it is not present in the code tree). is preserved (and it could not be as it is not present in the code tree).
""" """
from Cython.Compiler.Visitor import TreeVisitor
from Cython.Compiler.ExprNodes import *
class LinesResult(object): class LinesResult(object):
def __init__(self): def __init__(self):
self.lines = [] self.lines = []
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
# #
#======================================================================= #=======================================================================
import array
import types import types
from sys import maxint as maxint from sys import maxint as maxint
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
# for speed. # for speed.
# #
from copy import copy
from sys import maxint as maxint from sys import maxint as maxint
class TransitionMap(object): class TransitionMap(object):
......
import Cython.Compiler.Errors as Errors import Cython.Compiler.Errors as Errors
from Cython.CodeWriter import CodeWriter from Cython.CodeWriter import CodeWriter
from Cython.Compiler.ModuleNode import ModuleNode
import Cython.Compiler.Main as Main
from Cython.Compiler.TreeFragment import TreeFragment, strip_common_indent from Cython.Compiler.TreeFragment import TreeFragment, strip_common_indent
from Cython.Compiler.Visitor import TreeVisitor, VisitorTransform from Cython.Compiler.Visitor import TreeVisitor, VisitorTransform
from Cython.Compiler import TreePath from Cython.Compiler import TreePath
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment