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

Method __repr__

numpy/ma/core.py:6591–6596  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6589 return str(masked_print_option._display)
6590
6591 def __repr__(self):
6592 if self is MaskedConstant.__singleton:
6593 return 'masked'
6594 else:
6595 # it's a subclass, or something is wrong, make it obvious
6596 return object.__repr__(self)
6597
6598 def __format__(self, format_spec):
6599 # Replace ndarray.__format__ with the default, which supports no format characters.

Callers

nothing calls this directly

Calls 1

__repr__Method · 0.45

Tested by

no test coverage detected