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

(cherry picked from commit 184bd82ba8)
This commit is contained in:
Mariatta 2017-06-14 11:59:37 -07:00 committed by GitHub
parent dd47b1944d
commit 789f47ebb5

View file

@ -866,7 +866,7 @@ field names, the method and attribute names start with an underscore.
.. versionchanged:: 3.1
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::