Issue #25700: Clarify that namedtuple property docstrings became writeable in 3.5

This commit is contained in:
Raymond Hettinger 2015-11-23 22:18:55 -08:00
parent c3f7d1753f
commit 6e701310d1

View file

@ -934,6 +934,9 @@ fields:
>>> Book.title.__doc__ = 'Title of first printing'
>>> Book.authors.__doc__ = 'List of authors sorted by last name'
.. versionchanged:: 3.5
Property docstrings became writeable.
Default values can be implemented by using :meth:`_replace` to
customize a prototype instance: