summaryrefslogtreecommitdiff
path: root/numpy/core/arrayprint.py
diff options
context:
space:
mode:
authorMarten van Kerkwijk <mhvk@astro.utoronto.ca>2018-06-07 16:57:45 -0400
committerMarten van Kerkwijk <mhvk@astro.utoronto.ca>2018-06-18 16:10:26 -0400
commit6c25ca1ddfd8d02375544ba9be03b654a62997ba (patch)
treee77003117f0ac7527dfabe395050d6d539774db7 /numpy/core/arrayprint.py
parent44cfca844f043722906a9b2932a4ba03dce15c75 (diff)
downloadnumpy-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/core/arrayprint.py')
0 files changed, 0 insertions, 0 deletions