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

Method __init__

numpy/core/tests/test_einsum.py:120–122  ·  view source on GitHub ↗
(self, value, destruct)

Source from the content-addressed store, hash-verified

118 class DestructoBox:
119
120 def __init__(self, value, destruct):
121 self._val = value
122 self._destruct = destruct
123
124 def __add__(self, other):
125 tmp = self._val + other._val

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected