summaryrefslogtreecommitdiff
path: root/python/types.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2022-01-25 15:37:12 -0500
committerPeter LaFosse <peter@vector35.com>2022-01-25 16:01:13 -0500
commit344b7f695aeb333bd86a56029799ceef122b947d (patch)
treea9bb70796af487d7ba52e8614fcb9302a89dd15d /python/types.py
parent1dedf56d487d8e2953d63496cc0df8e7ae888c8e (diff)
Fix TypeBuilder.__repr__ and add unit test
Diffstat (limited to 'python/types.py')
-rw-r--r--python/types.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/python/types.py b/python/types.py
index 61f959d6..65a9f311 100644
--- a/python/types.py
+++ b/python/types.py
@@ -538,8 +538,6 @@ class TypeBuilder:
return not self.__eq__(other)
def __repr__(self):
- if self._confidence < core.max_confidence:
- return f"<type: mutable:{self.type_class.name} '{self}', {self._confidence * 100 // core.max_confidence}% confidence>"
return f"<type: mutable:{self.type_class.name} '{self}'>"
def __str__(self):