summaryrefslogtreecommitdiff
path: root/numpy/array_api/_manipulation_functions.py
diff options
context:
space:
mode:
authorBas van Beek <43369155+BvB93@users.noreply.github.com>2021-06-18 13:18:29 +0200
committerBas van Beek <43369155+BvB93@users.noreply.github.com>2021-06-18 13:34:59 +0200
commit9ce2c360384ed15f5a0618b5d64d0e09615bf15f (patch)
tree202a5d9976370fd311d00bd1f7b2871c8af991aa /numpy/array_api/_manipulation_functions.py
parent14b5ed70b02d155ddb8988db3413a29f9a119285 (diff)
downloadnumpy-9ce2c360384ed15f5a0618b5d64d0e09615bf15f.tar.gz
MAINT: Fixed the signature of `dtype.__mul__`
* Multiplication by 0 does not return `None` * Multiplication of a flexible dtype returns a flexible dtype; not just void * In principle any object implementing the `__index__` protocol is a valid multiplication value; not just integers.
Diffstat (limited to 'numpy/array_api/_manipulation_functions.py')
0 files changed, 0 insertions, 0 deletions