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

Method _format_block_end

Lib/pprint.py:225–228  ·  view source on GitHub ↗
(self, end_str, indent)

Source from the content-addressed store, hash-verified

223 return start_str
224
225 def _format_block_end(self, end_str, indent):
226 if self._expand:
227 return f"\n{' ' * indent}{end_str}"
228 return end_str
229
230 def _child_indent(self, indent, prefix_len):
231 if self._expand:

Callers 14

_pprint_dataclassMethod · 0.95
_pprint_dictMethod · 0.95
_pprint_frozendictMethod · 0.95
_pprint_dict_viewMethod · 0.95
_pprint_listMethod · 0.95
_pprint_tupleMethod · 0.95
_pprint_setMethod · 0.95
_pprint_strMethod · 0.95
_pprint_bytesMethod · 0.95
_pprint_bytearrayMethod · 0.95
_pprint_counterMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected