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

Method __init__

numpy/core/tests/test_array_coercion.py:53–54  ·  view source on GitHub ↗
(self, a)

Source from the content-addressed store, hash-verified

51 # Array-interface
52 class ArrayDunder(_SequenceLike):
53 def __init__(self, a):
54 self.a = a
55
56 def __array__(self, dtype=None):
57 return self.a

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected