diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index d80b5bf94e4d24..25e5e22fa37fdb 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -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::