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/typecontainer.py | |
| parent | 6520026964065327558472841838510176646568 (diff) | |
Add CorePlatform to python api for proper subclassing
Diffstat (limited to 'python/typecontainer.py')
| -rw-r--r-- | python/typecontainer.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/typecontainer.py b/python/typecontainer.py index 0b3221b8..55ea7666 100644 --- a/python/typecontainer.py +++ b/python/typecontainer.py @@ -108,7 +108,7 @@ class TypeContainer: """ handle = core.BNTypeContainerGetPlatform(self.handle) assert handle is not None - return platform.Platform(handle=handle) + return platform.CorePlatform._from_cache(handle=handle) def add_types(self, types: Mapping['_types.QualifiedNameType', '_types.Type'], progress_func: Optional[ProgressFuncType] = None) -> Optional[Mapping['_types.QualifiedName', str]]: """ |
