From: Stefan Behnel Date: Sun, 1 Jun 2008 12:27:03 +0000 (+0200) Subject: cleanup X-Git-Tag: 0.9.8rc1~11^2~10^2~6^2~19 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=14c1860ead7aa64a21c6e1751561f62d366650bc;p=cython.git cleanup --- diff --git a/Cython/Compiler/Parsing.py b/Cython/Compiler/Parsing.py index ce01a9de..7d065e53 100644 --- 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':