MCPcopy Create free account
hub / github.com/numpy/numpy / __call__

Method __call__

numpy/core/arrayprint.py:1347–1349  ·  view source on GitHub ↗
(self, a)

Source from the content-addressed store, hash-verified

1345 self.edge_items = options['edgeitems']
1346
1347 def __call__(self, a):
1348 self.summary_insert = "..." if a.size > self.threshold else ""
1349 return self.format_array(a)
1350
1351 def format_array(self, a):
1352 if np.ndim(a) == 0:

Callers

nothing calls this directly

Calls 1

format_arrayMethod · 0.95

Tested by

no test coverage detected