示例#1
0
 def pformat(self, object):
     sio = orig_pprint._StringIO()
     self._format(object, sio, self._indent, self._depth, {}, 0)
     return sio.getvalue()
示例#2
0
 def pformat_sub(self, object, indent=0, level=0):
     sio = _StringIO()
     self._format(object, sio, indent, 0, {}, level)
     return sio.getvalue()
示例#3
0
 def pformat_sub(self, object, indent=0, level=0):
     sio = _StringIO()
     self._format(object, sio, indent, 0, {}, level)
     return sio.getvalue()