MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / pformat

Method pformat

tools/python-3.11.9-amd64/Lib/pprint.py:159–162  ·  view source on GitHub ↗
(self, object)

Source from the content-addressed store, hash-verified

157 self._stream.write("\n")
158
159 def pformat(self, object):
160 sio = _StringIO()
161 self._format(object, sio, 0, 0, {}, 0)
162 return sio.getvalue()
163
164 def isrecursive(self, object):
165 return self.format(object, {}, 0, 0)[2]

Callers 8

_perfcheckFunction · 0.95
pformatFunction · 0.80
__repr__Method · 0.80
assertSequenceEqualMethod · 0.80
assertDictEqualMethod · 0.80
gen_ctypes_testFunction · 0.80
check_dumpFunction · 0.80

Calls 2

_formatMethod · 0.95
getvalueMethod · 0.45

Tested by 1