projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1b182d
)
clean up imports
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 3 May 2009 20:06:15 +0000
(22:06 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 3 May 2009 20:06:15 +0000
(22:06 +0200)
Cython/Compiler/Parsing.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Parsing.py
b/Cython/Compiler/Parsing.py
index b92de51769299769b0cfab42e3b8f09be84f135b..31210e419e9e5e39540b9414aaa88e51a4f42523 100644
(file)
--- 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: