(self, ufunc, casting, from_, to, i)
| 99 | class _UFuncOutputCastingError(_UFuncCastingError): |
| 100 | """ Thrown when a ufunc output cannot be casted """ |
| 101 | def __init__(self, ufunc, casting, from_, to, i): |
| 102 | super().__init__(ufunc, casting, from_, to) |
| 103 | self.out_i = i |
| 104 | |
| 105 | def __str__(self): |
| 106 | # only show the number if more than one output exists |