diff options
| author | Rusty Wagner <rusty.wagner@gmail.com> | 2025-10-23 13:44:30 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty.wagner@gmail.com> | 2025-10-23 14:42:52 -0400 |
| commit | b57e208e1aa7f261cb1d0980cada3af1c05fe6d1 (patch) | |
| tree | 7f36984a416cb06416a8eb4beed9ceffc0d887d6 /python/types.py | |
| parent | 0570a89e3a5ce10664d74e335064dd9b61834425 (diff) | |
Rename Type.finalized to Type._finalized
This returns a raw FFI handle and should only be used internally or in special FFI handling code
Diffstat (limited to 'python/types.py')
| -rw-r--r-- | python/types.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/types.py b/python/types.py index ef10c01f..2f506912 100644 --- a/python/types.py +++ b/python/types.py @@ -625,7 +625,7 @@ class TypeBuilder: TypeClass.EnumerationTypeClass: EnumerationType, TypeClass.NamedTypeReferenceClass: NamedTypeReferenceType, } - return Types[self.type_class](self.finalized, self.platform, self.confidence) + return Types[self.type_class](self._finalized, self.platform, self.confidence) def mutable_copy(self) -> 'TypeBuilder': return self @@ -787,7 +787,7 @@ class TypeBuilder: return self.width @property - def finalized(self): + def _finalized(self): type_handle = core.BNFinalizeTypeBuilder(self._handle) assert type_handle is not None, "core.BNFinalizeTypeBuilder returned None" return type_handle |
