summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/variable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/variable.py b/python/variable.py
index ec8f050d..2a8ee026 100644
--- a/python/variable.py
+++ b/python/variable.py
@@ -899,7 +899,7 @@ class Variable(CoreVariable):
@property
def il_function(self) -> 'function.ILFunctionType':
"""returns the IL Function object which this variable belongs to"""
- return self.var._il_function
+ return self._il_function
def set_name_async(self, name: Optional[str]) -> None:
"""