MCPcopy Index your code
hub / github.com/pydata/xarray / wrap_indent

Function wrap_indent

xarray/core/formatting.py:57–61  ·  view source on GitHub ↗
(text, start="", length=None)

Source from the content-addressed store, hash-verified

55
56
57def wrap_indent(text, start="", length=None):
58 if length is None:
59 length = len(start)
60 indent = "\n" + " " * length
61 return start + indent.join(x for x in text.splitlines())
62
63
64def _get_indexer_at_least_n_items(shape, n_desired, from_end):

Callers 1

diff_array_reprFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…