[Python-checkins] r60058 - python/trunk/Doc/library/collections.rst

raymond.hettinger python-checkins at python.org
Fri Jan 18 22:14:58 CET 2008


Author: raymond.hettinger
Date: Fri Jan 18 22:14:58 2008
New Revision: 60058

Modified:
   python/trunk/Doc/library/collections.rst
Log:
Better variable name in an example.

Modified: python/trunk/Doc/library/collections.rst
==============================================================================
--- python/trunk/Doc/library/collections.rst	(original)
+++ python/trunk/Doc/library/collections.rst	Fri Jan 18 22:14:58 2008
@@ -547,8 +547,8 @@
 customize a prototype instance::
 
     >>> Account = namedtuple('Account', 'owner balance transaction_count')
-    >>> model_account = Account('<owner name>', 0.0, 0)
-    >>> johns_account = model_account._replace(owner='John')
+    >>> default_account = Account('<owner name>', 0.0, 0)
+    >>> johns_account = default_account._replace(owner='John')
 
 .. rubric:: Footnotes
 


More information about the Python-checkins mailing list