MCPcopy
hub / github.com/numpy/numpy / repr_format

Function repr_format

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

Source from the content-addressed store, hash-verified

464 return fmt.format(o)
465
466def repr_format(x):
467 if isinstance(x, (np.str_, np.bytes_)):
468 return repr(x.item())
469 return repr(x)
470
471def str_format(x):
472 if isinstance(x, (np.str_, np.bytes_)):

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…