def tolist(self):
_mask = self._mask<EOL>if _mask is nomask:<EOL><INDENT>return self._data.tolist()<EOL><DEDENT>result = []<EOL>for (d, m) in zip(self._data, self._mask):<EOL><INDENT>if m:<EOL><INDENT>result.append(None)<EOL><DEDENT>else:<EOL><INDENT>result.append(d.item())<EOL><DEDENT><DEDENT>return tuple(result)<EOL>
Transforms the mvoid object into a tuple.

Masked fields are replaced by None.

Returns
-------
returned_tuple
    Tuple of fields