Kaydet (Commit) 6e701310 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

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

üst c3f7d175
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment