Changes between Version 12 and Version 13 of Ticket #11684
- Timestamp:
- Jul 30, 2014, 4:06:45 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11684 – API Changes
v12 v13 1 The decorators `lazy` and `cached` are implemented so that the decorated methods look like data descriptors, exposing the method docstring in documentation displayed with the built-in `help`.1 The decorators `lazy` and `cached` expose the method docstring in documentation displayed with the built-in `help`. The classes that implement the `cached` decorator (`CachedProperty` and `CachedSingletonProperty`) were modified so that the decorated attributes look like data descriptors.