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

Method _recursive_or

numpy/ma/core.py:2923–2930  ·  view source on GitHub ↗

do a|=b on each field of a, recursively

(a, b)

Source from the content-addressed store, hash-verified

2921 else:
2922 if _data.dtype.names is not None:
2923 def _recursive_or(a, b):
2924 "do a|=b on each field of a, recursively"
2925 for name in a.dtype.names:
2926 (af, bf) = (a[name], b[name])
2927 if af.dtype.names is not None:
2928 _recursive_or(af, bf)
2929 else:
2930 af |= bf
2931
2932 _recursive_or(_data._mask, mask)
2933 else:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected