seeds in gaussian random number generator

Tim Peters tim_one at email.msn.com
Sat Sep 16 00:04:30 EDT 2000


[Marc Christiansen]
> (0;0)10.SRam:> python
> Python 1.5.2 (#5, Feb 14 2000, 21:08:19)  [SAS/C 6.x] on amiga
> Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam
> >>> import random
> >>> print random.seed.__doc__
> Seed the default generator from any hashable value.
>
>     None or no argument returns (0, 0, 0) to seed from current time.
>
>
> >>>
>
> I think the doc string is faulty and the second line should read s.th.
> like
>         None or no argument seeds from current time.

I agree, and the change you suggest has been checked into the CVS tree for
2.0.  Thanks!






More information about the Python-list mailing list