summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/types.py b/python/types.py
index b0faf9ed..046a9d58 100644
--- a/python/types.py
+++ b/python/types.py
@@ -875,7 +875,7 @@ class Type(object):
return core.BNGetAutoDemangledTypeIdSource()
def with_confidence(self, confidence):
- return Type(handle = core.BNNewTypeReference(self._handle), platform = self._platform, confidence = confidence)
+ return Type(handle = core.BNNewTypeReference(self.handle), platform = self._platform, confidence = confidence)
@property
def confidence(self):