Commit 19637e80 authored by Stefan Behnel's avatar Stefan Behnel

strip some unnecessary line formatting from the argument unpacking code

--HG--
extra : transplant_source : %E1%BD%09M%C8%3C%C0%9A%86%D3%23%1DW%BB.C%18%CD%8C%3B
parent 302fec58
......@@ -2660,9 +2660,6 @@ class DefNode(FuncDefNode):
reversed_args = list(enumerate(positional_args))[::-1]
for i, arg in reversed_args:
if i >= min_positional_args-1:
if min_positional_args > 1:
code.putln('case %2d:' % (i+1)) # pure code beautification
else:
code.put('case %2d: ' % (i+1))
code.putln("values[%d] = PyTuple_GET_ITEM(%s, %d);" % (i, Naming.args_cname, i))
if min_positional_args == 0:
......
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