summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoonas Paalasmaa <joonas.paalasmaa@wolt.com>2021-04-20 14:33:54 (GMT)
committerGitHub <noreply@github.com>2021-04-20 14:33:54 (GMT)
commit389212c5db81e6aeab660665d2c59843d8d36f8e (patch)
treeaccb39a1e20ea064fc6b31f48373b47cd97be422
parent2a36b09ce7cd67503893412b53295717d66fee19 (diff)
downloadcpython-389212c5db81e6aeab660665d2c59843d8d36f8e.zip
cpython-389212c5db81e6aeab660665d2c59843d8d36f8e.tar.gz
cpython-389212c5db81e6aeab660665d2c59843d8d36f8e.tar.bz2
Document that random.gauss is normal distribution (GH-24935)
-rw-r--r--Doc/library/random.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 9d85c2b..9f037a1 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -326,9 +326,9 @@ be found in any statistics text.
.. function:: gauss(mu, sigma)
- Gaussian distribution. *mu* is the mean, and *sigma* is the standard
- deviation. This is slightly faster than the :func:`normalvariate` function
- defined below.
+ Normal distribution, also called the Gaussian distribution. *mu* is the mean,
+ and *sigma* is the standard deviation. This is slightly faster than
+ the :func:`normalvariate` function defined below.
Multithreading note: When two threads call this function
simultaneously, it is possible that they will receive the