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

Function _disables_array_ufunc

numpy/lib/mixins.py:8–13  ·  view source on GitHub ↗

True when __array_ufunc__ is set to None.

(obj)

Source from the content-addressed store, hash-verified

6
7
8def _disables_array_ufunc(obj):
9 """True when __array_ufunc__ is set to None."""
10 try:
11 return obj.__array_ufunc__ is None
12 except AttributeError:
13 return False
14
15
16def _binary_method(ufunc, name):

Callers 1

funcFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected