From b57e208e1aa7f261cb1d0980cada3af1c05fe6d1 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Thu, 23 Oct 2025 13:44:30 -0400 Subject: Rename Type.finalized to Type._finalized This returns a raw FFI handle and should only be used internally or in special FFI handling code --- python/types.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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 -- cgit v1.3.1