Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _guarded_repr_or_str
Function
_guarded_repr_or_str
numpy/core/arrayprint.py:1589–1592 ·
view source on GitHub ↗
(v)
Source
from the content-addressed store, hash-verified
1587
1588
@_recursive_guard()
1589
def
_guarded_repr_or_str(v):
1590
if
isinstance(v, bytes):
1591
return
repr(v)
1592
return
str(v)
1593
1594
1595
def
_array_str_implementation(
Callers
1
_array_str_implementation
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected