Add __repr__ to CppClass
This commit is contained in:
1 parent
eee739fcdc
commit
f9baba1bc9
2 files changed
+4
-2
No files matched your search
@@ -489,6 +489,9 @@ class CppClass(object):
|
||||
except ValueError:
|
||||
pass
|
||||
|
||||
def __repr__(self):
|
||||
return "<pybindgen.CppClass '%s'>" % self.full_name
|
||||
|
||||
def write_incref(self, code_block, obj_expr):
|
||||
"""
|
||||
Write code to increase the reference code of an object of this
|
||||
|
||||
Reference in new issue
Block a user