bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-… · python/cpython@184bd82 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 184bd82

benhoytMariatta

authored and

committed

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line number Diff line number Diff line change
@@ -866,7 +866,7 @@ field names, the method and attribute names start with an underscore.
866 866 .. versionchanged:: 3.1
867 867 Returns an :class:`OrderedDict` instead of a regular :class:`dict`.
868 868
869 -.. method:: somenamedtuple._replace(kwargs)
869 +.. method:: somenamedtuple._replace(**kwargs)
870 870
871 871 Return a new instance of the named tuple replacing specified fields with new
872 872 values::