# HG changeset patch # User Martijn Pieters # Date 1409143193 -3600 # Branch 2.7 # Node ID ffe77dc2979a3f22ba640b63539065e3e5f5fb54 # Parent af1351800c7a342d752546b63195b62efe9e8347 Correct grammar for calls. The original @49f52e285a64 commit meant to add keyword argument support between `*args` and `**kwargs`, not allow for two `*args` sections. See the corresponding Python 3 commit @6abada05c313. This should fix issue #22288 (http://bugs.python.org/issue22288). diff --git a/Doc/reference/expressions.rst b/Doc/reference/expressions.rst --- a/Doc/reference/expressions.rst +++ b/Doc/reference/expressions.rst @@ -689,7 +689,7 @@ : ["," "**" `expression`] : | `keyword_arguments` ["," "*" `expression`] : ["," "**" `expression`] - : | "*" `expression` ["," "*" `expression`] ["," "**" `expression`] + : | "*" `expression` ["," `keyword_arguments`] ["," "**" `expression`] : | "**" `expression` positional_arguments: `expression` ("," `expression`)* keyword_arguments: `keyword_item` ("," `keyword_item`)*