MCPcopy
hub / github.com/numpy/numpy / __str__

Method __str__

numpy/_core/records.py:210–213  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

208 return super().__repr__()
209
210 def __str__(self):
211 if _get_legacy_print_mode() <= 113:
212 return str(self.item())
213 return super().__str__()
214
215 def __getattribute__(self, attr):
216 if attr in ('setfield', 'getfield', 'dtype'):

Callers 1

__repr__Method · 0.95

Calls 2

_get_legacy_print_modeFunction · 0.85
itemMethod · 0.80

Tested by

no test coverage detected