MCPcopy
hub / github.com/numpy/numpy / str_format

Function str_format

numpy/_core/arrayprint.py:471–474  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

469 return repr(x)
470
471def str_format(x):
472 if isinstance(x, (np.str_, np.bytes_)):
473 return str(x.item())
474 return str(x)
475
476def _get_formatdict(data, *, precision, floatmode, suppress, sign, legacy,
477 formatter, **kwargs):

Callers

nothing calls this directly

Calls 1

itemMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…