MCPcopy Index your code
hub / github.com/numpy/numpy / _guarded_repr_or_str

Function _guarded_repr_or_str

numpy/_core/arrayprint.py:1711–1714  ·  view source on GitHub ↗
(v)

Source from the content-addressed store, hash-verified

1709
1710@_recursive_guard()
1711def _guarded_repr_or_str(v):
1712 if isinstance(v, bytes):
1713 return repr(v)
1714 return str(v)
1715
1716
1717def _array_str_implementation(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…