From: Stefan Behnel Date: Sun, 3 May 2009 20:06:15 +0000 (+0200) Subject: clean up imports X-Git-Tag: 0.13.beta0~2^2~132 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f4a4151048ef0270d910695114198734abd73c7;p=cython.git clean up imports --- diff --git a/Cython/Compiler/Parsing.py b/Cython/Compiler/Parsing.py index b92de517..31210e41 100644 --- a/Cython/Compiler/Parsing.py +++ b/Cython/Compiler/Parsing.py @@ -10,7 +10,6 @@ cython.declare(Nodes=object, ExprNodes=object, EncodedString=object) import os import re import sys -from types import ListType, TupleType from Cython.Compiler.Scanning import PyrexScanner, FileSourceDescriptor import Nodes import ExprNodes @@ -2642,6 +2641,7 @@ def p_module(s, pxd, full_module_name): #---------------------------------------------- def print_parse_tree(f, node, level, key = None): + from types import ListType, TupleType from Nodes import Node ind = " " * level if node: