mirror of
https://github.com/python/cpython
synced 2024-09-15 22:10:19 +00:00
Issue #28954: Merge keyword argument syntax from 3.6
This commit is contained in:
commit
2585443b6f
|
@ -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…
Reference in a new issue