diff --git a/capnp/capnp.pyx b/capnp/capnp.pyx index 7cd38dc..df8d033 100644 --- a/capnp/capnp.pyx +++ b/capnp/capnp.pyx @@ -353,9 +353,6 @@ cdef class _DynamicListReader: def __str__(self): return printListReader(self.thisptr).flatten().cStr() - cpdef _short_str(self): - return strListReader(self.thisptr).cStr() - def __repr__(self): # TODO: Print the list type. return '' % strListReader(self.thisptr).cStr() @@ -499,9 +496,6 @@ cdef class _DynamicListBuilder: def __str__(self): return printListBuilder(self.thisptr).flatten().cStr() - cpdef _short_str(self): - return strListBuilder(self.thisptr).cStr() - def __repr__(self): # TODO: Print the list type. return '' % strListBuilder(self.thisptr).cStr() @@ -796,9 +790,6 @@ cdef class _DynamicStructReader: def __str__(self): return printStructReader(self.thisptr).flatten().cStr() - cpdef _short_str(self): - return strStructReader(self.thisptr).cStr() - def __repr__(self): return '<%s reader %s>' % (self.schema.node.displayName, strStructReader(self.thisptr).cStr()) @@ -1022,9 +1013,6 @@ cdef class _DynamicStructBuilder: def __str__(self): return printStructBuilder(self.thisptr).flatten().cStr() - cpdef _short_str(self): - return strStructBuilder(self.thisptr).cStr() - def __repr__(self): return '<%s builder %s>' % (self.schema.node.displayName, strStructBuilder(self.thisptr).cStr())