mirror of
https://github.com/python/cpython.git
synced 2025-09-30 20:31:52 +00:00
Issue #25700: Clarify that namedtuple property docstrings became writeable in 3.5
This commit is contained in:
parent
c3f7d1753f
commit
6e701310d1
1 changed files with 3 additions and 0 deletions
|
@ -934,6 +934,9 @@ fields:
|
||||||
>>> Book.title.__doc__ = 'Title of first printing'
|
>>> Book.title.__doc__ = 'Title of first printing'
|
||||||
>>> Book.authors.__doc__ = 'List of authors sorted by last name'
|
>>> 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
|
Default values can be implemented by using :meth:`_replace` to
|
||||||
customize a prototype instance:
|
customize a prototype instance:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue