about summary refs log tree commit diff stats
path: root/miasm2/core
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/core')
-rw-r--r--miasm2/core/types.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/miasm2/core/types.py b/miasm2/core/types.py
index bb7536e5..7a4dcae1 100644
--- a/miasm2/core/types.py
+++ b/miasm2/core/types.py
@@ -1093,6 +1093,9 @@ class Void(Type):
     def __hash__(self):
         return hash(self.__class__)
 
+    def __repr__(self):
+        return self.__class__.__name__
+
 
 class Self(Void):
     """Special marker to reference a type inside itself.