commit | 533ff6fc0622bfae5d13d3a3838fbec3d9d21092 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed Mar 08 18:09:27 2006 +0000 |
committer | Georg Brandl <georg@python.org> | Wed Mar 08 18:09:27 2006 +0000 |
tree | 9650a936ff5061230485f1a3f4e4a6d90470250a | |
parent | f3c4ad14104ad45bd53df7b7e63cfc889efc3c05 [diff] |
Patch #1434038: property() now uses the getter's docstring if there is no "doc" argument given. This makes it possible to legitimately use property() as a decorator to produce a read-only property.