diff options
| author | KyleMiles <krm504@nyu.edu> | 2024-05-07 12:16:13 -0400 |
|---|---|---|
| committer | KyleMiles <krm504@nyu.edu> | 2024-05-07 12:16:13 -0400 |
| commit | 818dc318a974b5a5053720e55084b0671017b814 (patch) | |
| tree | 9d37c6fb6824701ad7e7b5669422416c734eebba /python/variable.py | |
| parent | a0c388f5a8beb0c0485deed3070d97b3a78f3990 (diff) | |
fix def_sites and use_sites 👀
Diffstat (limited to 'python/variable.py')
| -rw-r--r-- | python/variable.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/python/variable.py b/python/variable.py index 75e95712..3ca4bb1c 100644 --- a/python/variable.py +++ b/python/variable.py @@ -886,6 +886,11 @@ class Variable(CoreVariable): """returns the source Function object which this variable belongs to""" return self._function + @property + def il_function(self) -> 'function.ILFunctionType': + """returns the IL Function object which this variable belongs to""" + return self.var._il_function + def set_name_async(self, name: Optional[str]) -> None: """ ``set_name_async`` provides a way to asynchronously set the name of a variable. This method should be used |
