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

Method __init__

numpy/core/arrayprint.py:1342–1345  ·  view source on GitHub ↗
(self, format_function, **options)

Source from the content-addressed store, hash-verified

1340
1341class SubArrayFormat:
1342 def __init__(self, format_function, **options):
1343 self.format_function = format_function
1344 self.threshold = options['threshold']
1345 self.edge_items = options['edgeitems']
1346
1347 def __call__(self, a):
1348 self.summary_insert = "..." if a.size > self.threshold else ""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected