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

Method __init__

numpy/core/_exceptions.py:101–103  ·  view source on GitHub ↗
(self, ufunc, casting, from_, to, i)

Source from the content-addressed store, hash-verified

99class _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

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected