Skip to content
Permalink
Browse files

fix for translation

  • Loading branch information
Alex Gaynor
Alex Gaynor committed Mar 12, 2013
1 parent a40b441 commit e5aa54eb1bd0a9186df418691e7cfe5e076aa57e
Showing with 4 additions and 1 deletion.
  1. +4 −1 topaz/frame.py
@@ -63,7 +63,10 @@ def handle_args(self, space, bytecode, args_w, block):
self._set_arg(space, bytecode.arg_pos[i + len(args_w)], w_value)

if bytecode.splat_arg_pos != -1:
splat_args_w = args_w[len(bytecode.arg_pos):]
if len(bytecode.arg_pos) > len(args_w):
splat_args_w = []
else:
splat_args_w = args_w[len(bytecode.arg_pos):]
w_splat_args = space.newarray(splat_args_w)
self._set_arg(space, bytecode.splat_arg_pos, w_splat_args)

0 comments on commit e5aa54e

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