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

Method __reduce__

numpy/ma/core.py:6509–6515  ·  view source on GitHub ↗

Return a 3-tuple for pickling a MaskedArray.

(self)

Source from the content-addressed store, hash-verified

6507 self.fill_value = flv
6508
6509 def __reduce__(self):
6510 """Return a 3-tuple for pickling a MaskedArray.
6511
6512 """
6513 return (_mareconstruct,
6514 (self.__class__, self._baseclass, (0,), 'b',),
6515 self.__getstate__())
6516
6517 def __deepcopy__(self, memo=None):
6518 from copy import deepcopy

Calls 1

__getstate__Method · 0.95