[Python-checkins] cpython (3.5): Issue #25700: Clarify that namedtuple property docstrings became writeable in
raymond.hettinger
python-checkins at python.org
Tue Nov 24 01:19:21 EST 2015
https://hg.python.org/cpython/rev/f611e2244c69
changeset: 99327:f611e2244c69
branch: 3.5
parent: 99325:3f5a15f6e8fa
user: Raymond Hettinger <python at rcn.com>
date: Mon Nov 23 22:18:55 2015 -0800
summary:
Issue #25700: Clarify that namedtuple property docstrings became writeable in 3.5
files:
Doc/library/collections.rst | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Doc/library/collections.rst b/Doc/library/collections.rst
--- a/Doc/library/collections.rst
+++ b/Doc/library/collections.rst
@@ -934,6 +934,9 @@
>>> 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:
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list