Add TraitProperties as alternative way to define Traits from the traits contrib. Also clean up docs to resolve #2450.
This commit is contained in:
parent
6e975236eb
commit
78e063d9ca
4 changed files with 240 additions and 30 deletions
|
|
@ -2048,7 +2048,7 @@ def deepsize(obj, max_depth=4):
|
|||
_missing = object()
|
||||
|
||||
|
||||
class lazy_property(object):
|
||||
class lazy_property:
|
||||
"""
|
||||
Delays loading of property until first access. Credit goes to the
|
||||
Implementation in the werkzeug suite:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue