summaryrefslogtreecommitdiff
path: root/numpy/array_api
diff options
context:
space:
mode:
authorWarren Weckesser <warren.weckesser@gmail.com>2021-02-18 00:24:02 -0500
committerWarren Weckesser <warren.weckesser@gmail.com>2021-02-18 09:18:56 -0500
commit4de12597c1f15fad33201aea2cc918a687c20665 (patch)
treed8a061ed57d9c03afe0f9cf1344cb77872b9b497 /numpy/array_api
parent0eb9f54e5e466c8d7a76ae116712b368d045c7e0 (diff)
downloadnumpy-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