diff options
author | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-07-03 12:29:28 +0300 |
---|---|---|
committer | Claudiu Popa <cpopa@cloudbasesolutions.com> | 2015-07-03 12:29:28 +0300 |
commit | 40cff07aad309c94aa62e9eb26347e24294732b6 (patch) | |
tree | b003f899548325c58afbe179337bf68d48a71eea | |
parent | ed6fd7a16c264509095c347f589be446ef9a7b6b (diff) | |
download | astroid-40cff07aad309c94aa62e9eb26347e24294732b6.tar.gz |
Add new property name in the list of known property-like objects.
-rw-r--r-- | astroid/bases.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/astroid/bases.py b/astroid/bases.py index 3cd76df..e756057 100644 --- a/astroid/bases.py +++ b/astroid/bases.py @@ -45,9 +45,11 @@ PROPERTIES = {BUILTINS + '.property', 'abc.abstractproperty'} # Also, these aren't qualified, because each project can # define them, we shouldn't expect to know every possible # property-like decorator! +# TODO(cpopa): just implement descriptors already. POSSIBLE_PROPERTIES = {"cached_property", "cachedproperty", "lazyproperty", "lazy_property", "reify", - "lazyattribute", "lazy_attribute"} + "lazyattribute", "lazy_attribute", + "LazyProperty"} def _is_property(meth): |