mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
Issue #28954: Merge keyword argument syntax from 3.5
This commit is contained in:
commit
7e930d7677
1 changed files with 1 additions and 1 deletions
|
@ -827,7 +827,7 @@ series of :term:`arguments <argument>`:
|
|||
starred_and_keywords: ("*" `expression` | `keyword_item`)
|
||||
: ("," "*" `expression` | "," `keyword_item`)*
|
||||
keywords_arguments: (`keyword_item` | "**" `expression`)
|
||||
: ("," `keyword_item` | "**" `expression`)*
|
||||
: ("," `keyword_item` | "," "**" `expression`)*
|
||||
keyword_item: `identifier` "=" `expression`
|
||||
|
||||
An optional trailing comma may be present after the positional and keyword arguments
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue