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

Method __repr__

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

Source from the content-addressed store, hash-verified

111 return f'myprefix {self.view(SubArray)} mypostfix'
112
113 def __repr__(self):
114 # Return a repr that does not start with 'name('
115 return f'<{self.__class__.__name__} {self}>'
116
117 def _validate_input(self, value):
118 if not isinstance(value, ComplicatedSubArray):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected