projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
601483d
)
bpo-30659 : Use ** for kwargs in namedtuple._replace() signature (GH-2173)
author
Ben Hoyt
<benhoyt@gmail.com>
Tue, 13 Jun 2017 19:20:51 +0000
(15:20 -0400)
committer
Mariatta
<Mariatta@users.noreply.github.com>
Tue, 13 Jun 2017 19:20:51 +0000
(12:20 -0700)
Doc/library/collections.rst
patch
|
blob
|
history
diff --git
a/Doc/library/collections.rst
b/Doc/library/collections.rst
index 2d51f0cfdc094dc3ce8166045632ed28d825c76c..d6d2056dfc496c96ed2b3ba28cd18df9ef435621 100644
(file)
--- 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::