diff options
| author | Glenn Smith <glenn@vector35.com> | 2024-05-31 18:31:09 -0400 |
|---|---|---|
| committer | Glenn Smith <glenn@vector35.com> | 2024-06-04 00:29:49 -0400 |
| commit | 4152126289652104982292308858511197568097 (patch) | |
| tree | 1f1def136b994e7746b6fe650963d151da209cf8 /python/function.py | |
| parent | 6520026964065327558472841838510176646568 (diff) | |
Add CorePlatform to python api for proper subclassing
Diffstat (limited to 'python/function.py')
| -rw-r--r-- | python/function.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/function.py b/python/function.py index 3f667b5f..5b447584 100644 --- a/python/function.py +++ b/python/function.py @@ -503,7 +503,7 @@ class Function: plat = core.BNGetFunctionPlatform(self.handle) if plat is None: return None - self._platform = _platform.Platform(handle=plat) + self._platform = _platform.CorePlatform._from_cache(handle=plat) return self._platform @property |
