From 14c1860ead7aa64a21c6e1751561f62d366650bc Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Sun, 1 Jun 2008 14:27:03 +0200 Subject: [PATCH] cleanup --- Cython/Compiler/Parsing.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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': -- 2.26.2