Message25405
Logged In: YES
user_id=1140154
I agree with rhettinger, that there is no need to put
advanced things like properties in the tutorial.
But I still think, that the property explanation in "Python
Lib. Ref."
could be a bit more precise.
IMHO it's not enough to say "Return a property attribute for
new-style classes..." because it does not prohibit
explicitly the usage in "old style classes".
Suggestion:
"Python Library Reference": Chap. 2.1 Built-in Functions, ex.
property([fget[, fset[, fdel[, doc]]]])
[....]
New in Python 2.2. Properties only can be applied to new style
classes. See also "D. Glossary" -> new style classes for more
details. |
|
Date |
User |
Action |
Args |
2007-08-23 14:32:04 | admin | link | issue1207379 messages |
2007-08-23 14:32:04 | admin | create | |
|