projects
/
cython.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82cdadc
)
cleanup
author
Stefan Behnel
<scoder@users.berlios.de>
Sun, 1 Jun 2008 12:27:03 +0000
(14:27 +0200)
committer
Stefan Behnel
<scoder@users.berlios.de>
Sun, 1 Jun 2008 12:27:03 +0000
(14:27 +0200)
Cython/Compiler/Parsing.py
patch
|
blob
|
history
diff --git
a/Cython/Compiler/Parsing.py
b/Cython/Compiler/Parsing.py
index ce01a9de82acb7ad4eb07c392629fbb06a8ce39a..7d065e5322dacf54d6ce6c359c9e88f168c73b6b 100644
(file)
--- a/
Cython/Compiler/Parsing.py
+++ b/
Cython/Compiler/Parsing.py
@@
-3,7
+3,6
@@
#
import os, re
-from string import join, replace
from types import ListType, TupleType
from Scanning import PyrexScanner
import Nodes
@@
-1008,7
+1007,7
@@
def p_dotted_name(s, as_allowed):
names.append(p_ident(s))
if as_allowed:
as_name = p_as_name(s)
- return (pos, target_name,
join(names, "."
), as_name)
+ return (pos, target_name,
u'.'join(names
), as_name)
def p_as_name(s):
if s.sy == 'IDENT' and s.systring == 'as':