Issue #27518: Merge from 3.5

This commit is contained in:
Berker Peksag 2016-07-15 16:13:05 +03:00
commit 1e6755ba43

View file

@ -137,7 +137,7 @@ arglist: argument (',' argument)* [',']
# to our LL(1) parser. Even though 'test' includes '*expr' in star_expr, # to our LL(1) parser. Even though 'test' includes '*expr' in star_expr,
# we explicitly match '*' here, too, to give it proper precedence. # we explicitly match '*' here, too, to give it proper precedence.
# Illegal combinations and orderings are blocked in ast.c: # Illegal combinations and orderings are blocked in ast.c:
# multiple (test comp_for) arguements are blocked; keyword unpackings # multiple (test comp_for) arguments are blocked; keyword unpackings
# that precede iterable unpackings are blocked; etc. # that precede iterable unpackings are blocked; etc.
argument: ( test [comp_for] | argument: ( test [comp_for] |
test '=' test | test '=' test |