@@ -24,13 +24,13 @@ decorators: decorator+
2424decorated: decorators (classdef | funcdef)
2525funcdef: 'def' NAME parameters ['->' test] ':' suite
2626parameters: '(' [typedargslist] ')'
27- typedargslist: (( tfpdef ['=' test] ',')*
28- ( '*' [tfpdef] (',' tfpdef ['=' test])* [',' '**' tfpdef] | '**' tfpdef)
29- | tfpdef ['=' test ] (',' tfpdef ['=' test])* [','] )
27+ typedargslist: (tfpdef ['=' test] ( ',' tfpdef ['=' test])* [','
28+ [ '*' [tfpdef] (',' tfpdef ['=' test])* [',' '**' tfpdef] | '**' tfpdef]]
29+ | '*' [tfpdef ] (',' tfpdef ['=' test])* [',' '**' tfpdef] | '**' tfpdef )
3030tfpdef: NAME [':' test]
31- varargslist: (( vfpdef ['=' test] ',')*
32- ( '*' [vfpdef] (',' vfpdef ['=' test])* [',' '**' vfpdef] | '**' vfpdef)
33- | vfpdef ['=' test ] (',' vfpdef ['=' test])* [','] )
31+ varargslist: (vfpdef ['=' test] ( ',' vfpdef ['=' test])* [','
32+ [ '*' [vfpdef] (',' vfpdef ['=' test])* [',' '**' vfpdef] | '**' vfpdef]]
33+ | '*' [vfpdef ] (',' vfpdef ['=' test])* [',' '**' vfpdef] | '**' vfpdef )
3434vfpdef: NAME
3535
3636stmt: simple_stmt | compound_stmt
0 commit comments