mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173)
This commit is contained in:
parent
601483d3b8
commit
184bd82ba8
1 changed files with 1 additions and 1 deletions
|
@ -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::
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue