Fixup example in docs.

This commit is contained in:
Raymond Hettinger 2007-11-15 02:58:20 +00:00
parent 5681cbce81
commit 213ae014db
1 changed files with 1 additions and 1 deletions

View File

@ -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__