From 213ae014dbeecf44a7adf2e14f38e0a52258f204 Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Thu, 15 Nov 2007 02:58:20 +0000 Subject: Fixup example in docs. --- Doc/library/collections.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 1e7b427..0c88861 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -464,7 +464,7 @@ two additonal methods and a read-only attribute. Point(x=33, y=22) >>> for recordnum, record in inventory: - ... inventory[recordnum] = record.replace('total', record.price * record.quantity) + ... inventory[recordnum] = record.replace(total = record.price * record.quantity) .. attribute:: somenamedtuple.__fields__ -- cgit v0.12