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

Method __str__

numpy/core/records.py:237–240  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

235 return super().__repr__()
236
237 def __str__(self):
238 if _get_legacy_print_mode() <= 113:
239 return str(self.item())
240 return super().__str__()
241
242 def __getattribute__(self, attr):
243 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