summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2006-03-08 18:09:27 (GMT)
committerGeorg Brandl <georg@python.org>2006-03-08 18:09:27 (GMT)
commit533ff6fc0622bfae5d13d3a3838fbec3d9d21092 (patch)
tree9650a936ff5061230485f1a3f4e4a6d90470250a /Misc/NEWS
parentf3c4ad14104ad45bd53df7b7e63cfc889efc3c05 (diff)
downloadcpython-533ff6fc0622bfae5d13d3a3838fbec3d9d21092.zip
cpython-533ff6fc0622bfae5d13d3a3838fbec3d9d21092.tar.gz
cpython-533ff6fc0622bfae5d13d3a3838fbec3d9d21092.tar.bz2
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.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 6657f3a..ed4e97b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 2.5 alpha 1?
Core and builtins
-----------------
+- 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.
+
- PEP 357, patch 1436368: add an __index__ method to int/long and a matching
nb_index slot to the PyNumberMethods struct. The slot is consulted instead
of requiring an int or long in slicing and a few other contexts, enabling