mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
fix compiler warning
This commit is contained in:
parent
95dc8b5761
commit
c6dc12484b
3 changed files with 270 additions and 246 deletions
|
@ -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]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue