(self, func, nin, nout)
| 34 | """A serializable `frompyfunc` object""" |
| 35 | |
| 36 | def __init__(self, func, nin, nout): |
| 37 | self._ufunc = np.frompyfunc(func, nin, nout) |
| 38 | self._func = func |
| 39 | self.nin = nin |
| 40 | self.nout = nout |
| 41 | self._name = funcname(func) |
| 42 | self.__name__ = f"frompyfunc-{self._name}" |
| 43 | |
| 44 | def __repr__(self): |
| 45 | return f"da.frompyfunc<{self._name}, {self.nin}, {self.nout}>" |
nothing calls this directly
no test coverage detected