Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
remove some bad style
- Loading branch information
Showing
with
1 addition
and
2 deletions.
-
+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))) |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.