cpython: bde652ae05fd (original) (raw)

Mercurial > cpython

changeset 96013:bde652ae05fd

Issue #24064: Add __doc__ to the example in collections.rst. [#24064]

Berker Peksag berker.peksag@gmail.com
date Wed, 13 May 2015 12:16:27 +0300
parents ed0d847f61d7
children 9c606c573ec0
files Doc/library/collections.rst
diffstat 1 files changed, 3 insertions(+), 3 deletions(-)[+] [-] Doc/library/collections.rst 6

line wrap: on

line diff

--- a/Doc/library/collections.rst +++ b/Doc/library/collections.rst @@ -929,9 +929,9 @@ fields: >>> Book = namedtuple('Book', ['id', 'title', 'authors']) >>> Book.doc = 'Hardcover book in active collection'

Default values can be implemented by using :meth:_replace to customize a prototype instance: