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

Method __init__

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

Source from the content-addressed store, hash-verified

64 # Array-interface
65 class ArrayInterface:
66 def __init__(self, a):
67 self.a = a # need to hold on to keep interface valid
68 self.__array_interface__ = a.__array_interface__
69
70 yield param(ArrayInterface, id="__array_interface__")
71

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected