diff options
author | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2021-06-18 13:18:29 +0200 |
---|---|---|
committer | Bas van Beek <43369155+BvB93@users.noreply.github.com> | 2021-06-18 13:34:59 +0200 |
commit | 9ce2c360384ed15f5a0618b5d64d0e09615bf15f (patch) | |
tree | 202a5d9976370fd311d00bd1f7b2871c8af991aa /numpy/array_api/_manipulation_functions.py | |
parent | 14b5ed70b02d155ddb8988db3413a29f9a119285 (diff) | |
download | numpy-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