summaryrefslogtreecommitdiff
path: root/numpy/array_api/_array_object.py
diff options
context:
space:
mode:
authorjessijzhao <35235453+jessijzhao@users.noreply.github.com>2021-10-27 10:35:31 -0700
committerGitHub <noreply@github.com>2021-10-27 10:35:31 -0700
commitf66a76ec2d592c4f44c3f44c596b6d6f581626e5 (patch)
tree2aa2b3172b0893559c77fc395b386b7eac13a1f7 /numpy/array_api/_array_object.py
parentba6cd71b14df1ea2694354ac9ce84e8f2d7aa65a (diff)
downloadnumpy-f66a76ec2d592c4f44c3f44c596b6d6f581626e5.tar.gz
DOC: Fix random.power Raises description (#20205)
Current documentation for random.power and random.Generator.power states that ValueError is raised if a < 1; however the power function distribution only supports strictly positive a > 0 and raises ValueError if a <= 0. Fixed documentation to reflect this.
Diffstat (limited to 'numpy/array_api/_array_object.py')
0 files changed, 0 insertions, 0 deletions