From 9b2e7ec0762ad7508847135b7eacb4e13fd16e04 Mon Sep 17 00:00:00 2001 From: Oren Amsalem Date: Tue, 23 Feb 2016 10:39:49 +0200 Subject: 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] --- numpy/random/mtrand/mtrand.pyx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/random') 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 -- cgit v1.2.1