Copy is a no-op on the maskedconstant, as it is a scalar
(self, *args, **kwargs)
| 6629 | del __iop__ # don't leave this around |
| 6630 | |
| 6631 | def copy(self, *args, **kwargs): |
| 6632 | """ Copy is a no-op on the maskedconstant, as it is a scalar """ |
| 6633 | # maskedconstant is a scalar, so copy doesn't need to copy. There's |
| 6634 | # precedent for this with `np.bool_` scalars. |
| 6635 | return self |
| 6636 | |
| 6637 | def __copy__(self): |
| 6638 | return self |
no outgoing calls