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

Method _is_scalar

numpy/ma/core.py:3231–3232  ·  view source on GitHub ↗
(m)

Source from the content-addressed store, hash-verified

3229 _mask = self._mask
3230
3231 def _is_scalar(m):
3232 return not isinstance(m, np.ndarray)
3233
3234 def _scalar_heuristic(arr, elem):
3235 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected