summaryrefslogtreecommitdiff
path: root/numpy/array_api/_statistical_functions.py
diff options
context:
space:
mode:
authorSebastian Berg <sebastianb@nvidia.com>2022-12-01 14:25:57 +0100
committerSebastian Berg <sebastianb@nvidia.com>2022-12-01 14:25:57 +0100
commit19ba7c4529a17a10abf0d52615011336a0deb606 (patch)
treef07abc68de5a8ff1111433b87aac012d395264a2 /numpy/array_api/_statistical_functions.py
parente21a20592454e81dc686c49304768be854f55eaf (diff)
downloadnumpy-19ba7c4529a17a10abf0d52615011336a0deb606.tar.gz
DEP: Finalize the comparison FutureWarning/DeprecationWarning
This finalize the deprecation warning, there are a couple of corner cases that we don't get as nicely as we could. E.g. we (for now?) manually create the all-false or all-true result array with a bit clunky subclass support (subclasses can always override `==` and `!=` though). We also keep some (existing) behavior for 0-D objects where we just return `NotImplemented`, which means the result should end up with Python booleans (which is probably just as well).
Diffstat (limited to 'numpy/array_api/_statistical_functions.py')
0 files changed, 0 insertions, 0 deletions