From 1916e25afed1296410b284df18a627a7468c0ab7 Mon Sep 17 00:00:00 2001 From: Stefan Behnel Date: Tue, 2 Dec 2008 22:25:15 +0100 Subject: [PATCH] minor code cleanup --- Cython/Compiler/ExprNodes.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index a3dee717..1ed1fdee 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -3,7 +3,6 @@ # import operator -from string import join from Errors import error, warning, InternalError from Errors import hold_errors, release_errors, held_errors, report_error @@ -2292,7 +2291,7 @@ class SimpleCallNode(CallNode): for actual_arg in self.args[len(formal_args):]: arg_list_code.append(actual_arg.result()) result = "%s(%s)" % (self.function.result(), - join(arg_list_code, ", ")) + ', '.join(arg_list_code)) # if self.wrapper_call or \ # self.function.entry.is_unbound_cmethod and self.function.entry.type.is_overridable: # result = "(%s = 1, %s)" % (Naming.skip_dispatch_cname, result) -- 2.26.2