We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 95dc8b5 commit c6dc124Copy full SHA for c6dc124
3 files changed
Grammar/Grammar
@@ -24,7 +24,8 @@ decorators: decorator+
24
decorated: decorators (classdef | funcdef)
25
funcdef: 'def' NAME parameters ['->' test] ':' suite
26
parameters: '(' [typedargslist] ')'
27
-typedargslist: (tfpdef ['=' test] (',' tfpdef ['=' test])* [','
+typedargslist: (tfpdef ['=' test] (',' tfpdef ['=' test])*
28
+ [',' '/' (',' tfpdef ['=' test])*] [','
29
['*' [tfpdef] (',' tfpdef ['=' test])* [',' '**' tfpdef] | '**' tfpdef]]
30
| '*' [tfpdef] (',' tfpdef ['=' test])* [',' '**' tfpdef] | '**' tfpdef)
31
tfpdef: NAME [':' test]
0 commit comments