summaryrefslogtreecommitdiff
path: root/doc/source/reference/arrays.indexing.rst
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2014-05-14 21:37:16 +0300
committerPauli Virtanen <pav@iki.fi>2014-05-14 21:37:16 +0300
commitda40eba435d2b39c7d251f91d446ed411d71d3f5 (patch)
treeb3cb446379a6b8d959801583d0a3ab9d566b548e /doc/source/reference/arrays.indexing.rst
parentafe32d77b3540f11ff564f851f1db5afd26857b3 (diff)
downloadnumpy-da40eba435d2b39c7d251f91d446ed411d71d3f5.tar.gz
BUG: core: allow scalar type richcompare to call ndarray-subclass methods
This makes the scalar richcmp behave exactly as "array(self) <op> other". The difference comes in when "other" is an ndarray subclass, in which case this change allows the subclass to override the comparison operations via usual Python binop dispatch rules.
Diffstat (limited to 'doc/source/reference/arrays.indexing.rst')
0 files changed, 0 insertions, 0 deletions