diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2019-12-15 11:17:06 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2019-12-15 11:17:06 +0200 |
commit | 73d276d0612599d4cded1431209560949256197a (patch) | |
tree | 8d65f365b58e2712cbfb40b665b708359c2123c0 /astroid/inference.py | |
parent | d68f2935378ecce766c2ec9086c18e44d4b78572 (diff) | |
download | astroid-git-73d276d0612599d4cded1431209560949256197a.tar.gz |
Set arguments on inferred properties and property descriptors such as fget()
Diffstat (limited to 'astroid/inference.py')
-rw-r--r-- | astroid/inference.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/astroid/inference.py b/astroid/inference.py index 64e79df7..bfd94b92 100644 --- a/astroid/inference.py +++ b/astroid/inference.py @@ -960,6 +960,7 @@ def infer_functiondef(self, context=None): parent=self.parent, col_offset=self.col_offset, ) + prop_func.postinit(body=[], args=self.args) yield prop_func |