[Python-ideas] inheriting docstrings and mutable docstings for classes
ncoghlan at gmail.com
Fri Jun 10 09:09:41 CEST 2011
On Fri, Jun 10, 2011 at 11:45 AM, Eric Snow <ericsnowcurrently at gmail.com> wrote:
>> Agreed that docstrings should be writeable after the fact, though
>> (e.g. functions already work that way - functools.wraps wouldn't work
> Would this be a very controversial change? I ask because it's been
> this way since 2.2 and no one's changed it. Thanks.
More likely a matter of nobody needing the functionality enough to
question the behaviour (there are a variety of arbitrary restrictions
still floating around that don't really have a *reason*, it's just
that it was easier to do it that way initially and nobody has cared
enough to change it).
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas