diff options
author | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2018-06-07 16:57:45 -0400 |
---|---|---|
committer | Marten van Kerkwijk <mhvk@astro.utoronto.ca> | 2018-06-18 16:10:26 -0400 |
commit | 6c25ca1ddfd8d02375544ba9be03b654a62997ba (patch) | |
tree | e77003117f0ac7527dfabe395050d6d539774db7 /numpy/lib/tests/test_function_base.py | |
parent | 44cfca844f043722906a9b2932a4ba03dce15c75 (diff) | |
download | numpy-6c25ca1ddfd8d02375544ba9be03b654a62997ba.tar.gz |
MAINT: move comparison operator special-handling out of ufunc parsing.
The argument parsing for ufuncs contains special logic to enable returning
NotImplemented for comparison functions. The ufuncs, however, should
not have to know whether they were called via a python comparison operator,
so this PR moves the logic to the operators, checking after ufunc failed
whether a NotImplemented should be returned.
Diffstat (limited to 'numpy/lib/tests/test_function_base.py')
0 files changed, 0 insertions, 0 deletions