Commit 1916e25a authored by Stefan Behnel's avatar Stefan Behnel

minor code cleanup

parent 83151f91
...@@ -3,7 +3,6 @@ ...@@ -3,7 +3,6 @@
# #
import operator import operator
from string import join
from Errors import error, warning, InternalError from Errors import error, warning, InternalError
from Errors import hold_errors, release_errors, held_errors, report_error from Errors import hold_errors, release_errors, held_errors, report_error
...@@ -2292,7 +2291,7 @@ class SimpleCallNode(CallNode): ...@@ -2292,7 +2291,7 @@ class SimpleCallNode(CallNode):
for actual_arg in self.args[len(formal_args):]: for actual_arg in self.args[len(formal_args):]:
arg_list_code.append(actual_arg.result()) arg_list_code.append(actual_arg.result())
result = "%s(%s)" % (self.function.result(), result = "%s(%s)" % (self.function.result(),
join(arg_list_code, ", ")) ', '.join(arg_list_code))
# if self.wrapper_call or \ # if self.wrapper_call or \
# self.function.entry.is_unbound_cmethod and self.function.entry.type.is_overridable: # self.function.entry.is_unbound_cmethod and self.function.entry.type.is_overridable:
# result = "(%s = 1, %s)" % (Naming.skip_dispatch_cname, result) # result = "(%s = 1, %s)" % (Naming.skip_dispatch_cname, result)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment