Example of multiple replacements.
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
index 0c88861..89885ab 100644
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -463,8 +463,8 @@
>>> p.__replace__(x=33)
Point(x=33, y=22)
- >>> for recordnum, record in inventory:
- ... inventory[recordnum] = record.replace(total = record.price * record.quantity)
+ >>> for partnum, record in inventory.items():
+ ... inventory[partnum] = record.__replace__(price=newprices[partnum], updated=time.now())
.. attribute:: somenamedtuple.__fields__