Immutability
Steve Holden
steve at holdenweb.com
Thu Jun 29 06:46:52 EDT 2006
Georg Brandl wrote:
> Steve Holden wrote:
[...]
>
>>Would it make sense, in the single argument case, to default the doc
>>value to fget.__doc__ to support that use case, or should we just not
>>create read-only properties by using property as a decorator?
>
>
> This is actually already the case in 2.5.
>
Sorry, haven't had much time for python-checkins lately. But this would
certainly argue that the decorator form for read-only properties is
accepted at some level.
regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC/Ltd http://www.holdenweb.com
Love me, love my blog http://holdenweb.blogspot.com
Recent Ramblings http://del.icio.us/steve.holden
More information about the Python-list
mailing list