diff options
author | Warren Weckesser <warren.weckesser@gmail.com> | 2021-02-18 00:24:02 -0500 |
---|---|---|
committer | Warren Weckesser <warren.weckesser@gmail.com> | 2021-02-18 09:18:56 -0500 |
commit | 4de12597c1f15fad33201aea2cc918a687c20665 (patch) | |
tree | d8a061ed57d9c03afe0f9cf1344cb77872b9b497 /numpy/array_api | |
parent | 0eb9f54e5e466c8d7a76ae116712b368d045c7e0 (diff) | |
download | numpy-4de12597c1f15fad33201aea2cc918a687c20665.tar.gz |
MAINT: random: Use 'from None' when raising a ValueError in choice.
Use 'from None' when the ValueError is raised when the first argument to
`choice` is not an array and not an integer.
Also fix the error message for the ValueError, and add a missing space
to two other error messages.
Diffstat (limited to 'numpy/array_api')
0 files changed, 0 insertions, 0 deletions