[Python-checkins] cpython (3.5): Issue #28954: Add missing comma to keyword argument syntax
martin.panter
python-checkins at python.org
Sat Dec 24 05:27:59 EST 2016
https://hg.python.org/cpython/rev/3f94e3c7dcc5
changeset: 105810:3f94e3c7dcc5
branch: 3.5
parent: 105806:b0b17b41edfc
user: Martin Panter <vadmium+py at gmail.com>
date: Sat Dec 24 10:20:38 2016 +0000
summary:
Issue #28954: Add missing comma to keyword argument syntax
files:
Doc/reference/expressions.rst | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst
--- a/Doc/reference/expressions.rst
+++ b/Doc/reference/expressions.rst
@@ -667,7 +667,7 @@
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
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list