summaryrefslogtreecommitdiff
path: root/numpy/random
diff options
context:
space:
mode:
authorOren Amsalem <oren.a4@gmail.com>2016-02-23 10:39:49 +0200
committerCharles Harris <charlesr.harris@gmail.com>2016-02-27 17:31:41 -0700
commit9b2e7ec0762ad7508847135b7eacb4e13fd16e04 (patch)
treed546882482972c2daaab74a6a71f548e6979e19a /numpy/random
parentfe25160c29a712eb766ec5f39a6bc074f6ab931e (diff)
downloadnumpy-9b2e7ec0762ad7508847135b7eacb4e13fd16e04.tar.gz
DOC: Update random.seed in mtrand.pyx.
I know int is between 0 and 4294967295, but I think many people that do not know that will benefit from this comment. [ci skip]
Diffstat (limited to 'numpy/random')
-rw-r--r--numpy/random/mtrand/mtrand.pyx2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/random/mtrand/mtrand.pyx b/numpy/random/mtrand/mtrand.pyx
index db4ea13e6..6df2d84b9 100644
--- a/numpy/random/mtrand/mtrand.pyx
+++ b/numpy/random/mtrand/mtrand.pyx
@@ -892,7 +892,7 @@ cdef class RandomState:
----------
seed : {None, int, array_like}, optional
Random seed initializing the pseudo-random number generator.
- Can be an integer, an array (or other sequence) of integers of
+ Can be an integer between 0 and 4294967295, an array (or other sequence) of integers of
any length, or ``None`` (the default).
If `seed` is ``None``, then `RandomState` will try to read data from
``/dev/urandom`` (or the Windows analogue) if available or seed from