Skip to content
Permalink
Browse files

remove some bad style

  • Loading branch information
alex committed Jun 18, 2013
1 parent 0007fa4 commit d5528aa09514e0e95d08ad285fafb607263ee3e4
Showing with 1 addition and 2 deletions.
  1. +1 −2 topaz/frame.py
@@ -45,8 +45,7 @@ def handle_block_args(self, space, bytecode, args_w, block):
if (len(args_w) == 1 and
isinstance(args_w[0], W_ArrayObject) and len(bytecode.arg_pos) >= 2):
w_arg = args_w[0]
assert isinstance(w_arg, W_ArrayObject)
args_w = w_arg.items_w
args_w = space.listview(w_arg)
minargc = len(bytecode.arg_pos) - len(bytecode.defaults)
if len(args_w) < minargc:
args_w.extend([space.w_nil] * (minargc - len(args_w)))

0 comments on commit d5528aa

Please sign in to comment.
You can’t perform that action at this time.