diff options
author | Raymond Hettinger <python@rcn.com> | 2007-01-19 18:03:13 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2007-01-19 18:03:13 +0000 |
commit | 3b77d3d9a728b029657489bdc9a0c688ebcceaee (patch) | |
tree | 0f2a450aa11d064d5e2b837507a581bfe02fdca8 | |
parent | d266f7a38cf00116ced3985e70b78ae1002c92af (diff) | |
download | cpython-git-3b77d3d9a728b029657489bdc9a0c688ebcceaee.tar.gz |
SF# 1635892: Fix docs for betavariate's input parameters .
-rw-r--r-- | Doc/lib/librandom.tex | 2 | ||||
-rw-r--r-- | Lib/random.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/lib/librandom.tex b/Doc/lib/librandom.tex index c6b88469a3..78c536b321 100644 --- a/Doc/lib/librandom.tex +++ b/Doc/lib/librandom.tex @@ -185,7 +185,7 @@ these equations can be found in any statistics text. \begin{funcdesc}{betavariate}{alpha, beta} Beta distribution. Conditions on the parameters are - \code{\var{alpha} > -1} and \code{\var{beta} > -1}. + \code{\var{alpha} > 0} and \code{\var{beta} > 0}. Returned values range between 0 and 1. \end{funcdesc} diff --git a/Lib/random.py b/Lib/random.py index b80f1a1c3f..ed87ddd64e 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -569,7 +569,7 @@ class Random(_random.Random): def betavariate(self, alpha, beta): """Beta distribution. - Conditions on the parameters are alpha > -1 and beta} > -1. + Conditions on the parameters are alpha > 0 and beta > 0. Returned values range between 0 and 1. """ |