# At the same level
pass
elif depth > levels[-1]:
- raise IndentationError("indentation increase but not in new block")
+ raise IndentationError("indent increase but not in new block")
else:
# Back up; but only if it matches a previous level
try:
p[0] = p[2]
- # varargslist: (fpdef ['=' test] ',')* ('*' NAME [',' '**' NAME] | '**' NAME) |
+ # varargslist: (fpdef ['=' test] ',')* ('*' NAME [',' '**' NAME] |
+ # '**' NAME) |
# highly simplified
def p_varargslist(self, p):
"""varargslist : varargslist COMMA NAME
- # arglist: (argument ',')* (argument [',']| '*' test [',' '**' test] | '**' test)
+ # arglist: (argument ',')* (argument [',']| '*' test [',' '**' test]
+ # | '**' test)
# XXX INCOMPLETE: this doesn't allow the trailing comma
def p_arglist(self, p):
"""arglist : arglist COMMA argument