summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/ACKS.txt1
-rw-r--r--Doc/library/collections.rst2
2 files changed, 2 insertions, 1 deletions
diff --git a/Doc/ACKS.txt b/Doc/ACKS.txt
index f9049c5..d0c1f31 100644
--- a/Doc/ACKS.txt
+++ b/Doc/ACKS.txt
@@ -136,6 +136,7 @@ docs@python.org), and we'll be glad to correct the problem.
* Tomas Oppelstrup
* Denis S. Otkidach
* Zooko O'Whielacronx
+ * Shriphani Palakodety
* William Park
* Joonas Paalasmaa
* Harri Pasanen
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index d46a895..3ac95b1 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -429,7 +429,7 @@ Example::
return dict(zip(('x', 'y'), self))
def __replace__(self, **kwds):
'Return a new Point object replacing specified fields with new values'
- return Point(**dict(zip(('x', 'y'), self) + kwds.items()))
+ return Point(**dict(zip(('x', 'y'), self), **kwds))
x = property(itemgetter(0))
y = property(itemgetter(1))