MCPcopy Index your code
hub / github.com/python/cpython / _pprint_list

Method _pprint_list

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

Source from the content-addressed store, hash-verified

361 _collections.abc.MappingView)}
362
363 def _pprint_list(self, object, stream, indent, allowance, context, level):
364 stream.write(self._format_block_start('[', indent))
365 self._format_items(object, stream, indent, allowance + 1,
366 context, level)
367 stream.write(self._format_block_end(']', indent))
368
369 _dispatch[list.__repr__] = _pprint_list
370

Callers

nothing calls this directly

Calls 4

_format_block_startMethod · 0.95
_format_itemsMethod · 0.95
_format_block_endMethod · 0.95
writeMethod · 0.45

Tested by

no test coverage detected