Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ __call__
Method
__call__
numpy/core/arrayprint.py:1241–1242 ·
view source on GitHub ↗
(self, x)
Source
from the content-addressed store, hash-verified
1239
self.truestr =
' True'
if
data.shape != ()
else
'True'
1240
1241
def
__call__(self, x):
1242
return
self.truestr
if
x
else
"False"
1243
1244
1245
class
ComplexFloatingFormat:
Callers
2
__call__
Method · 0.45
test_ufunc_override_methods
Method · 0.45
Calls
no outgoing calls
Tested by
1
test_ufunc_override_methods
Method · 0.36