diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 2d51f0cfdc0..d6d2056dfc4 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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::