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

Method _child_indent

Lib/pprint.py:230–233  ·  view source on GitHub ↗
(self, indent, prefix_len)

Source from the content-addressed store, hash-verified

228 return end_str
229
230 def _child_indent(self, indent, prefix_len):
231 if self._expand:
232 return indent
233 return indent + prefix_len
234
235 def _write_indent_padding(self, write):
236 if self._expand:

Callers 6

_pprint_frozendictMethod · 0.95
_pprint_ordered_dictMethod · 0.95
_pprint_mappingproxyMethod · 0.95
_format_dict_itemsMethod · 0.95
_pprint_counterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected