In the description for the __repr__ function, it says that the returning string should be able to be eval'd, and that would return your type. If that is not possible, you should use < > to make that explicit.
libmem should comply with the eval rule, so that eval(repr(some_obj)) == obj
In the description for the
__repr__
function, it says that the returning string should be able to beeval
'd, and that would return your type. If that is not possible, you should use< >
to make that explicit. libmem should comply with theeval
rule, so thateval(repr(some_obj)) == obj