summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
authorRoss Barnowski <rossbar@berkeley.edu>2022-01-20 19:39:23 -0800
committerRoss Barnowski <rossbar@berkeley.edu>2022-01-20 19:39:23 -0800
commitb38fd20c2b2fcec966ad72c03d52afaf438c02f5 (patch)
tree244de6e46e46268f5408dd29ddf62ff1f50e60f0 /numpy/random
parentd410c8da4b9d7ef7e7be355f6804bc0f2ee9a2d5 (diff)
downloadnumpy-b38fd20c2b2fcec966ad72c03d52afaf438c02f5.tar.gz
DOC: Cosmetic docstring fix for numpydoc.
Numpydoc 1.2 raises a UserWarning when the heading length doesn't match the heading text. This change prevents this UserWarning during sphinx-build.
Diffstat (limited to 'numpy/random')
-rw-r--r--numpy/random/mtrand.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/mtrand.pyx b/numpy/random/mtrand.pyx
index 8bf74aa5d..38b5484bc 100644
--- a/numpy/random/mtrand.pyx
+++ b/numpy/random/mtrand.pyx
@@ -4341,7 +4341,7 @@ cdef class RandomState:
The drawn samples, of shape ``(size, k)``.
Raises
- -------
+ ------
ValueError
If any value in ``alpha`` is less than or equal to zero