diff options
| author | Raymond Hettinger <python@rcn.com> | 2007-11-15 02:58:20 (GMT) |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2007-11-15 02:58:20 (GMT) |
| commit | 213ae014dbeecf44a7adf2e14f38e0a52258f204 (patch) | |
| tree | cdbfc9f98f44939db4a97bd7c6b41e1ecb58b7b5 | |
| parent | 5681cbce812d3daf19eab3a58631076148aa22c8 (diff) | |
| download | cpython-213ae014dbeecf44a7adf2e14f38e0a52258f204.zip cpython-213ae014dbeecf44a7adf2e14f38e0a52258f204.tar.gz cpython-213ae014dbeecf44a7adf2e14f38e0a52258f204.tar.bz2 | |
Fixup example in docs.
| -rw-r--r-- | Doc/library/collections.rst | 2 |
1 files changed, 1 insertions, 1 deletions
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__ |
