We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee0572f commit a3afdcaCopy full SHA for a3afdca
1 file changed
Doc/library/collections.rst
@@ -855,7 +855,7 @@ field names, the method and attribute names start with an underscore.
855
.. versionchanged:: 3.1
856
Returns an :class:`OrderedDict` instead of a regular :class:`dict`.
857
858
-.. method:: somenamedtuple._replace(kwargs)
+.. method:: somenamedtuple._replace(**kwargs)
859
860
Return a new instance of the named tuple replacing specified fields with new
861
values::
0 commit comments