summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorBas van Beek <b.f.van.beek@vu.nl>2022-05-25 14:48:59 +0200
committerBas van Beek <b.f.van.beek@vu.nl>2022-05-25 16:12:18 +0200
commit48c0c0e784dcd852c577310a4bd9dc9253f27e29 (patch)
treeac14c843e8176ed02bf27a75bd1152f6172632b4 /numpy/array_api/_array_object.py
parent7e15fd77ca6c09989f219acf432c98a1036d14c5 (diff)
downloadnumpy-48c0c0e784dcd852c577310a4bd9dc9253f27e29.tar.gz
TYP: Allow unsigned integer inplace-ops to accept signed integers
Inplace ops generally use "same_kind" casting w.r.t. to the left operand. An exception to this rule are unsigned integers though, which also accepts a signed integer (array) for the right operand as long as all its values are >=0.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions