diff options
author | Guido van Rossum <guido@python.org> | 2001-09-06 22:02:58 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-09-06 22:02:58 (GMT) |
commit | 8d7234d1dcd8dcfb8f2d928f3ee5c54a08ecd5b4 (patch) | |
tree | decc8e98bb70e833df0c59d9d0f4ac79ed47e4c9 /Misc | |
parent | e56ed9ba1513b3719ce0fe8b85da6b3367d7da64 (diff) | |
download | cpython-8d7234d1dcd8dcfb8f2d928f3ee5c54a08ecd5b4.zip cpython-8d7234d1dcd8dcfb8f2d928f3ee5c54a08ecd5b4.tar.gz cpython-8d7234d1dcd8dcfb8f2d928f3ee5c54a08ecd5b4.tar.bz2 |
Rename 'getset' to 'property'.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -64,11 +64,11 @@ Core "cooperative super calls" in a multiple inheritance setting. For an explanation, see http://www.python.org/2.2/descrintro.html#cooperation -- A new built-in type, getset, has been added. This enables the - creation of "computed attributes". Such attributes are implemented - by getter and setter functions (or only one of these for read-only - or write-only attributes), without the need to override - __getattr__. See http://www.python.org/2.2/descrintro.html#getset +- A new built-in type, property, has been added. This enables the + creation of "properties". These are attributes implemented by + getter and setter functions (or only one of these for read-only or + write-only attributes), without the need to override __getattr__. + See http://www.python.org/2.2/descrintro.html#property - The syntax of floating-point and imaginary literals has been liberalized, to allow leading zeroes. Examples of literals now |