MCPcopy Index your code
hub / github.com/numpy/numpy / __repr__

Method __repr__

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

Source from the content-addressed store, hash-verified

6787 return str(masked_print_option._display)
6788
6789 def __repr__(self):
6790 if self is MaskedConstant.__singleton:
6791 return 'masked'
6792 else:
6793 # it's a subclass, or something is wrong, make it obvious
6794 return object.__repr__(self)
6795
6796 def __format__(self, format_spec):
6797 # Replace ndarray.__format__ with the default, which supports no

Callers

nothing calls this directly

Calls 1

__repr__Method · 0.45

Tested by

no test coverage detected