fix compiler warning

This commit is contained in:
Benjamin Peterson 2013-03-19 23:20:59 -05:00
parent 95dc8b5761
commit c6dc12484b
3 changed files with 270 additions and 246 deletions

View file

@ -24,7 +24,8 @@ decorators: decorator+
decorated: decorators (classdef | funcdef)
funcdef: 'def' NAME parameters ['->' test] ':' suite
parameters: '(' [typedargslist] ')'
typedargslist: (tfpdef ['=' test] (',' tfpdef ['=' test])* [','
typedargslist: (tfpdef ['=' test] (',' tfpdef ['=' test])*
[',' '/' (',' tfpdef ['=' test])*] [','
['*' [tfpdef] (',' tfpdef ['=' test])* [',' '**' tfpdef] | '**' tfpdef]]
| '*' [tfpdef] (',' tfpdef ['=' test])* [',' '**' tfpdef] | '**' tfpdef)
tfpdef: NAME [':' test]