Author: Raffael Tfirst <raffael.tfi...@gmail.com> Branch: py3.5 Changeset: r84915:dcb2c9c112db Date: 2016-06-03 23:03 +0200 http://bitbucket.org/pypy/pypy/changeset/dcb2c9c112db/
Log: Change kind to func in codegen _make_call diff --git a/pypy/interpreter/astcompiler/codegen.py b/pypy/interpreter/astcompiler/codegen.py --- a/pypy/interpreter/astcompiler/codegen.py +++ b/pypy/interpreter/astcompiler/codegen.py @@ -1113,7 +1113,7 @@ nkw = 0 nseen = 0 # the number of positional arguments on the stack for elt in args: - if isinstance(elt.kind, ast.Starred): + if isinstance(elt.func, ast.Starred): # A star-arg. If we've seen positional arguments, # pack the positional arguments into a tuple. if nseen != 0: _______________________________________________ pypy-commit mailing list pypy-commit@python.org https://mail.python.org/mailman/listinfo/pypy-commit