Commit 58ead6dd authored by Stefan Behnel's avatar Stefan Behnel

comment

parent 93bec723
...@@ -2430,8 +2430,8 @@ class DefNode(FuncDefNode): ...@@ -2430,8 +2430,8 @@ class DefNode(FuncDefNode):
code.putln("0};") code.putln("0};")
def generate_argument_parsing_code(self, env, code): def generate_argument_parsing_code(self, env, code):
# Generate PyArg_ParseTuple call for generic # Generate fast equivalent of PyArg_ParseTuple call for
# arguments, if any. # generic arguments, if any, including args/kwargs
if self.entry.signature.has_dummy_arg and not self.self_in_stararg: if self.entry.signature.has_dummy_arg and not self.self_in_stararg:
# get rid of unused argument warning # get rid of unused argument warning
code.putln("%s = %s;" % (Naming.self_cname, Naming.self_cname)) code.putln("%s = %s;" % (Naming.self_cname, Naming.self_cname))
......
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