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

Method _pprint_list

Lib/pprint.py:251–255  ·  view source on GitHub ↗
(self, object, stream, indent, allowance, context, level)

Source from the content-addressed store, hash-verified

249 _dispatch[_collections.OrderedDict.__repr__] = _pprint_ordered_dict
250
251 def _pprint_list(self, object, stream, indent, allowance, context, level):
252 stream.write('[')
253 self._format_items(object, stream, indent, allowance + 1,
254 context, level)
255 stream.write(']')
256
257 _dispatch[list.__repr__] = _pprint_list
258

Callers

nothing calls this directly

Calls 2

_format_itemsMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected