Small improvement to the implementation of __replace__().
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 2d7f0a9..1e7b427 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -396,7 +396,7 @@
return dict(zip(('x', 'y'), self))
def __replace__(self, field, value):
'Return a new Point object replacing specified fields with new values'
- return Point(**dict(self.__asdict__().items() + kwds.items()))
+ return Point(**dict(zip(('x', 'y'), self) + kwds.items()))
x = property(itemgetter(0))
y = property(itemgetter(1))