commit | 213ae014dbeecf44a7adf2e14f38e0a52258f204 | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Thu Nov 15 02:58:20 2007 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Thu Nov 15 02:58:20 2007 +0000 |
tree | cdbfc9f98f44939db4a97bd7c6b41e1ecb58b7b5 | |
parent | 5681cbce812d3daf19eab3a58631076148aa22c8 [diff] [blame] |
Fixup example in docs.
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 @@ 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__