Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/numpy/numpy
/ _get_legacy_print_mode
Function
_get_legacy_print_mode
numpy/_core/arrayprint.py:391–393 ·
view source on GitHub ↗
Return the legacy print mode as an int.
()
Source
from the content-addressed store, hash-verified
389
390
391
def
_get_legacy_print_mode():
392
""
"Return the legacy print mode as an int."
""
393
return
format_options.get()[
'legacy'
]
394
395
396
@set_module(
'numpy'
)
Callers
3
__repr__
Method · 0.85
__str__
Method · 0.85
__repr__
Method · 0.85
Calls
1
get
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…