MCPcopy Index your code
hub / github.com/RustPython/RustPython / pprint

Method pprint

Lib/pprint.py:160–163  ·  view source on GitHub ↗
(self, object)

Source from the content-addressed store, hash-verified

158 self._underscore_numbers = underscore_numbers
159
160 def pprint(self, object):
161 if self._stream is not None:
162 self._format(object, self._stream, 0, 0, {}, 0)
163 self._stream.write("\n")
164
165 def pformat(self, object):
166 sio = _StringIO()

Callers 2

pprintFunction · 0.95
_mainFunction · 0.45

Calls 2

_formatMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected