Commit 4b30107b authored by Mariatta's avatar Mariatta Committed by GitHub

bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173) (GH-2196)

(cherry picked from commit 184bd82b)
parent 311054a9
......@@ -704,7 +704,7 @@ field names, the method and attribute names start with an underscore.
.. versionchanged:: 2.7
Returns an :class:`OrderedDict` instead of a regular :class:`dict`.
.. method:: somenamedtuple._replace(kwargs)
.. method:: somenamedtuple._replace(**kwargs)
Return a new instance of the named tuple replacing specified fields with new
values::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment