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

Method __setitem__

numpy/lib/user_array.py:51–52  ·  view source on GitHub ↗
(self, index, value)

Source from the content-addressed store, hash-verified

49 return self._rc(self.array[index])
50
51 def __setitem__(self, index, value):
52 self.array[index] = asarray(value, self.dtype)
53
54 def __abs__(self):
55 return self._rc(absolute(self.array))

Callers

nothing calls this directly

Calls 1

asarrayFunction · 0.90

Tested by

no test coverage detected