summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2016-09-08 20:59:58 (GMT)
committerEric Snow <ericsnowcurrently@gmail.com>2016-09-08 20:59:58 (GMT)
commitb957b0c2bc467fbf16fbe5ceaf5a289bc62a5442 (patch)
treecb24c0564c9a580ef240352686e68e3ca2271cdd
parenta68c1bca7bd35571dd1bab736fd69452eca8394e (diff)
downloadcpython-b957b0c2bc467fbf16fbe5ceaf5a289bc62a5442.zip
cpython-b957b0c2bc467fbf16fbe5ceaf5a289bc62a5442.tar.gz
cpython-b957b0c2bc467fbf16fbe5ceaf5a289bc62a5442.tar.bz2
Issue #28030: Update the language reference for PEP 468.
-rw-r--r--Doc/reference/compound_stmts.rst11
1 files changed, 6 insertions, 5 deletions
diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst
index 2eab29a..ffdeae0 100644
--- a/Doc/reference/compound_stmts.rst
+++ b/Doc/reference/compound_stmts.rst
@@ -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