This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author rhettinger
Recipients rhettinger
Date 2015-04-27.04:53:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430110387.37.0.412217606886.issue24064@psf.upfronthosting.co.za>
In-reply-to
Content
I can't see any reason for property docstrings to be readonly:

    >>> p = property(doc='basic')
    >>> p.__doc__
    'basic'
    >>> p.__doc__ = 'extended'
    Traceback (most recent call last):
      File "<pyshell#46>", line 1, in <module>
        p.__doc__ = 'extended'
    AttributeError: readonly attribute

Among other things, making it writeable would simplify the ability to update the docstrings produced by namedtuple;

    Time.mtime.__doc__ = 'modification time'
    Score.max = 'all time cumulative high score for a single season'
History
Date User Action Args
2015-04-27 04:53:07rhettingersetrecipients: + rhettinger
2015-04-27 04:53:07rhettingersetmessageid: <1430110387.37.0.412217606886.issue24064@psf.upfronthosting.co.za>
2015-04-27 04:53:07rhettingerlinkissue24064 messages
2015-04-27 04:53:06rhettingercreate