Rename 'getset' to 'property'.

This commit is contained in:
Guido van Rossum 2001-09-06 22:02:58 +00:00
parent e56ed9ba15
commit 8d7234d1dc
1 changed files with 5 additions and 5 deletions

View File

@ -64,11 +64,11 @@ Core
"cooperative super calls" in a multiple inheritance setting. For an "cooperative super calls" in a multiple inheritance setting. For an
explanation, see http://www.python.org/2.2/descrintro.html#cooperation explanation, see http://www.python.org/2.2/descrintro.html#cooperation
- A new built-in type, getset, has been added. This enables the - A new built-in type, property, has been added. This enables the
creation of "computed attributes". Such attributes are implemented creation of "properties". These are attributes implemented by
by getter and setter functions (or only one of these for read-only getter and setter functions (or only one of these for read-only or
or write-only attributes), without the need to override write-only attributes), without the need to override __getattr__.
__getattr__. See http://www.python.org/2.2/descrintro.html#getset See http://www.python.org/2.2/descrintro.html#property
- The syntax of floating-point and imaginary literals has been - The syntax of floating-point and imaginary literals has been
liberalized, to allow leading zeroes. Examples of literals now liberalized, to allow leading zeroes. Examples of literals now