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

Method __init__

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

Source from the content-addressed store, hash-verified

81class _UFuncInputCastingError(_UFuncCastingError):
82 """ Thrown when a ufunc input cannot be casted """
83 def __init__(self, ufunc, casting, from_, to, i):
84 super().__init__(ufunc, casting, from_, to)
85 self.in_i = i
86
87 def __str__(self):
88 # only show the number if more than one input exists

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected