summaryrefslogtreecommitdiff
path: root/astroid/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/objects.py')
-rw-r--r--astroid/objects.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/astroid/objects.py b/astroid/objects.py
index e948396f..35c9b1a9 100644
--- a/astroid/objects.py
+++ b/astroid/objects.py
@@ -173,6 +173,10 @@ class Super(node_classes.NodeNG):
yield inferred
elif self._class_based or inferred.type == 'staticmethod':
yield inferred
+ elif bases._is_property(inferred):
+ # TODO: support other descriptors as well.
+ for value in inferred.infer_call_result(self, context):
+ yield value
else:
yield bases.BoundMethod(inferred, cls)