Skip to content

Commit

Permalink
remove some bad style
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Jun 18, 2013
1 parent 0007fa4 commit d5528aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions topaz/frame.py
Expand Up @@ -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)))
Expand Down

0 comments on commit d5528aa

Please sign in to comment.