From: Raymond Hettinger Date: Fri, 18 Jan 2008 21:14:58 +0000 (+0000) Subject: Better variable name in an example. X-Git-Tag: v2.6a1~553 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0fe6ca467323c5a497fab3a2e6e753d65e78f718;p=thirdparty%2FPython%2Fcpython.git Better variable name in an example. --- diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 1cb80e4969e0..a891aff86946 100644 --- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -547,8 +547,8 @@ Default values can be implemented by using :meth:`_replace` to customize a prototype instance:: >>> Account = namedtuple('Account', 'owner balance transaction_count') - >>> model_account = Account('', 0.0, 0) - >>> johns_account = model_account._replace(owner='John') + >>> default_account = Account('', 0.0, 0) + >>> johns_account = default_account._replace(owner='John') .. rubric:: Footnotes