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/architecture.py | |
| parent | 6520026964065327558472841838510176646568 (diff) | |
Add CorePlatform to python api for proper subclassing
Diffstat (limited to 'python/architecture.py')
| -rw-r--r-- | python/architecture.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/architecture.py b/python/architecture.py index 3e4a010e..ce8c4e63 100644 --- a/python/architecture.py +++ b/python/architecture.py @@ -566,7 +566,7 @@ class Architecture(metaclass=_ArchitectureMetaClass): def standalone_platform(self) -> 'platform.Platform': """Architecture standalone platform (read-only)""" pl = core.BNGetArchitectureStandalonePlatform(self.handle) - return platform.Platform(self, pl) + return platform.CorePlatform._from_cache(pl) @property def type_libraries(self) -> List['typelibrary.TypeLibrary']: |
