]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Patch #1434038: property() now uses the getter's docstring if there is
authorGeorg Brandl <georg@python.org>
Wed, 8 Mar 2006 18:09:27 +0000 (18:09 +0000)
committerGeorg Brandl <georg@python.org>
Wed, 8 Mar 2006 18:09:27 +0000 (18:09 +0000)
commit533ff6fc0622bfae5d13d3a3838fbec3d9d21092
tree9650a936ff5061230485f1a3f4e4a6d90470250a
parentf3c4ad14104ad45bd53df7b7e63cfc889efc3c05
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.
Doc/lib/libfuncs.tex
Lib/test/test_descr.py
Misc/NEWS
Objects/descrobject.c