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 f8e416f4..84f38c91 100644
--- a/python/types.py
+++ b/python/types.py
@@ -274,7 +274,7 @@ class Type(object):
result = core.BNGetTypeCallingConvention(self.handle)
if result is None:
return None
- return callingconvention.CallingConvention(None, result)
+ return callingconvention.CallingConvention(handle=result)
@property
def parameters(self):
@@ -746,7 +746,7 @@ class TypeParserResult(object):
self.functions = functions
def __repr__(self):
- return "{types: %s, variables: %s, functions: %s}" % (self.types, self.variables, self.functions)
+ return "<types: %s, variables: %s, functions: %s>" % (self.types, self.variables, self.functions)
def preprocess_source(source, filename=None, include_dirs=[]):