[Checkins] SVN: zope.cachedescriptors/trunk/src/zope/cachedescriptors/property.txt added test pointing out the difference between the builtin property and readproperty

Christian Zagrodnick cz at gocept.com
Wed May 9 09:52:35 EDT 2007


Log message for revision 75654:
  added test pointing out the difference between the builtin property and readproperty

Changed:
  U   zope.cachedescriptors/trunk/src/zope/cachedescriptors/property.txt

-=-
Modified: zope.cachedescriptors/trunk/src/zope/cachedescriptors/property.txt
===================================================================
--- zope.cachedescriptors/trunk/src/zope/cachedescriptors/property.txt	2007-05-09 13:12:37 UTC (rev 75653)
+++ zope.cachedescriptors/trunk/src/zope/cachedescriptors/property.txt	2007-05-09 13:52:34 UTC (rev 75654)
@@ -156,7 +156,14 @@
     computing radius
     '2.24'
 
+But you *can* replace the property by setting a value. This is the major
+difference to the builtin `property`::
 
+    >>> point.radius = 5
+    >>> point.radius
+    5
+
+
 cachedIn
 ========
 



More information about the Checkins mailing list