Commit 9cf0a656 authored by Stefan Behnel's avatar Stefan Behnel

minor code cleanup

parent bd1b60ec
...@@ -2929,14 +2929,14 @@ class DefNode(FuncDefNode): ...@@ -2929,14 +2929,14 @@ class DefNode(FuncDefNode):
else: else:
pos_arg_count = "pos_args" pos_arg_count = "pos_args"
code.globalstate.use_utility_code(parse_keywords_utility_code) code.globalstate.use_utility_code(parse_keywords_utility_code)
code.put( code.putln(
'if (unlikely(__Pyx_ParseOptionalKeywords(%s, %s, %s, values, %s, "%s") < 0)) ' % ( 'if (unlikely(__Pyx_ParseOptionalKeywords(%s, %s, %s, values, %s, "%s") < 0)) %s' % (
Naming.kwds_cname, Naming.kwds_cname,
Naming.pykwdlist_cname, Naming.pykwdlist_cname,
self.starstar_arg and self.starstar_arg.entry.cname or '0', self.starstar_arg and self.starstar_arg.entry.cname or '0',
pos_arg_count, pos_arg_count,
self.name)) self.name,
code.putln(code.error_goto(self.pos)) code.error_goto(self.pos)))
code.putln('}') code.putln('}')
def generate_argument_conversion_code(self, code): def generate_argument_conversion_code(self, code):
......
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