summaryrefslogtreecommitdiff
path: root/astroid/objects.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/objects.py')
-rw-r--r--astroid/objects.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/objects.py b/astroid/objects.py
index 93c5f406..50c4fb73 100644
--- a/astroid/objects.py
+++ b/astroid/objects.py
@@ -291,8 +291,8 @@ class Property(scoped_nodes.FunctionDef):
def __init__(
self, function, name=None, doc=None, lineno=None, col_offset=None, parent=None
):
- super().__init__(name, doc, lineno, col_offset, parent)
self.function = function
+ super().__init__(name, doc, lineno, col_offset, parent)
# pylint: disable=unnecessary-lambda
special_attributes = util.lazy_descriptor(lambda: objectmodel.PropertyModel())