summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2007-11-15 02:58:20 (GMT)
committerRaymond Hettinger <python@rcn.com>2007-11-15 02:58:20 (GMT)
commit213ae014dbeecf44a7adf2e14f38e0a52258f204 (patch)
treecdbfc9f98f44939db4a97bd7c6b41e1ecb58b7b5 /Doc
parent5681cbce812d3daf19eab3a58631076148aa22c8 (diff)
downloadcpython-213ae014dbeecf44a7adf2e14f38e0a52258f204.zip
cpython-213ae014dbeecf44a7adf2e14f38e0a52258f204.tar.gz
cpython-213ae014dbeecf44a7adf2e14f38e0a52258f204.tar.bz2
Fixup example in docs.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/collections.rst2
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__