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

Method __divmod__

numpy/lib/user_array.py:108–110  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

106 return self
107
108 def __divmod__(self, other):
109 return (self._rc(divide(self.array, other)),
110 self._rc(remainder(self.array, other)))
111
112 def __rdivmod__(self, other):
113 return (self._rc(divide(other, self.array)),

Callers

nothing calls this directly

Calls 3

_rcMethod · 0.95
divideFunction · 0.85
remainderFunction · 0.85

Tested by

no test coverage detected