From 3f4a4151048ef0270d910695114198734abd73c7 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 3 May 2009 22:06:15 +0200 Subject: [PATCH] clean up imports --- Cython/Compiler/Parsing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.26.2