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

Method __repr__

numpy/ma/tests/test_subclassing.py:164–165  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

162 self.attrs = attrs
163
164 def __repr__(self):
165 return f"{self.__class__.__name__}(\n{self._array}\n{self.attrs}\n)"
166
167 def __array__(self):
168 return np.asarray(self._array)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected