[pypy-commit] pypy py3.5: Change kind to func in codegen _make_call
raffael_t
pypy.commits at gmail.com
Fri Jun 3 17:03:56 EDT 2016
Author: Raffael Tfirst <raffael.tfirst at 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:
More information about the pypy-commit
mailing list