]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue #28030: Update the language reference for PEP 468.
authorEric Snow <ericsnowcurrently@gmail.com>
Thu, 8 Sep 2016 20:59:58 +0000 (13:59 -0700)
committerEric Snow <ericsnowcurrently@gmail.com>
Thu, 8 Sep 2016 20:59:58 +0000 (13:59 -0700)
Doc/reference/compound_stmts.rst

index 2eab29a8e09185f7331896f636700dc5b19e3edc..ffdeae04e567b46a6f49df5b7a23b9eda4a1bee2 100644 (file)
@@ -546,11 +546,12 @@ Function call semantics are described in more detail in section :ref:`calls`. A
 function call always assigns values to all parameters mentioned in the parameter
 list, either from position arguments, from keyword arguments, or from default
 values.  If the form "``*identifier``" is present, it is initialized to a tuple
-receiving any excess positional parameters, defaulting to the empty tuple.  If
-the form "``**identifier``" is present, it is initialized to a new dictionary
-receiving any excess keyword arguments, defaulting to a new empty dictionary.
-Parameters after "``*``" or "``*identifier``" are keyword-only parameters and
-may only be passed used keyword arguments.
+receiving any excess positional parameters, defaulting to the empty tuple.
+If the form "``**identifier``" is present, it is initialized to a new
+ordered mapping receiving any excess keyword arguments, defaulting to a
+new empty mapping of the same type.  Parameters after "``*``" or
+"``*identifier``" are keyword-only parameters and may only be passed
+used keyword arguments.
 
 .. index:: pair: function; annotations