diff options
author | Raymond Hettinger <python@rcn.com> | 2008-01-18 21:14:58 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2008-01-18 21:14:58 (GMT) |
commit | 0fe6ca467323c5a497fab3a2e6e753d65e78f718 (patch) | |
tree | cfa78dda72bf0272b9def77b019f30e59d58b8db /Doc | |
parent | 9ff1a449732277c340fdf426e89d8460d2d8dd87 (diff) | |
download | cpython-0fe6ca467323c5a497fab3a2e6e753d65e78f718.zip cpython-0fe6ca467323c5a497fab3a2e6e753d65e78f718.tar.gz cpython-0fe6ca467323c5a497fab3a2e6e753d65e78f718.tar.bz2 |
Better variable name in an example.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/collections.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst index 1cb80e4..a891aff 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('<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 |