This commit is contained in:
Anthony Scopatz 2016-02-07 22:25:44 -05:00
parent 2da806af0c
commit 3bf723363f
2 changed files with 1 additions and 4 deletions

View file

@ -760,10 +760,7 @@ def test_call_alot_next():
yield check_ast, 'x(x=1, *args, **kwargs)', False
def test_call_alot_next_next():
global DEBUG_LEVEL
DEBUG_LEVEL = 100
yield check_ast, 'x(x=1, *args, y=42, **kwargs)', False
DEBUG_LEVEL = 0
def test_getattr():
yield check_ast, 'list.append'

View file

@ -108,7 +108,7 @@ class Parser(BaseParser):
| argument_comma_list argument comma_opt
| argument_comma_list_opt TIMES test comma_argument_list_opt
| argument_comma_list_opt TIMES test COMMA POW test
| argument_comma_list_opt TIMES test comma_argument_list COMMA
| argument_comma_list_opt TIMES test comma_argument_list COMMA POW test
| argument_comma_list_opt POW test
"""
lenp = len(p)