diff options
author | Sebastian Berg <sebastianb@nvidia.com> | 2022-12-06 13:01:11 +0100 |
---|---|---|
committer | Sebastian Berg <sebastianb@nvidia.com> | 2022-12-06 20:02:37 +0100 |
commit | 2ac75e57bdc176860896e144533aa7ab42093d94 (patch) | |
tree | 2703e6e0e0a631e04ae08e0ac60e8d88ba522795 /numpy/random | |
parent | 928a7b40a40941c0c282cfad78c3a6021422a71c (diff) | |
download | numpy-2ac75e57bdc176860896e144533aa7ab42093d94.tar.gz |
DOC: Fix doc `numpy.<exception>` to `numpy.exceptions.<exception>`
Diffstat (limited to 'numpy/random')
-rw-r--r-- | numpy/random/_generator.pyx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/_generator.pyx b/numpy/random/_generator.pyx index 266a05387..da66c1cac 100644 --- a/numpy/random/_generator.pyx +++ b/numpy/random/_generator.pyx @@ -4745,7 +4745,7 @@ cdef class Generator: >>> rng.permutation("abc") Traceback (most recent call last): ... - numpy.AxisError: axis 0 is out of bounds for array of dimension 0 + numpy.exceptions.AxisError: axis 0 is out of bounds for array of dimension 0 >>> arr = np.arange(9).reshape((3, 3)) >>> rng.permutation(arr, axis=1) |