summaryrefslogtreecommitdiff
path: root/python/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/types.py')
-rw-r--r--python/types.py4
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