[Python-checkins] Document that random.gauss is normal distribution (GH-24935)
rhettinger
webhook-mailer at python.org
Tue Apr 20 10:34:26 EDT 2021
https://github.com/python/cpython/commit/389212c5db81e6aeab660665d2c59843d8d36f8e
commit: 389212c5db81e6aeab660665d2c59843d8d36f8e
branch: master
author: Joonas Paalasmaa <joonas.paalasmaa at wolt.com>
committer: rhettinger <rhettinger at users.noreply.github.com>
date: 2021-04-20T07:33:54-07:00
summary:
Document that random.gauss is normal distribution (GH-24935)
files:
M Doc/library/random.rst
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 9d85c2b9958eb..9f037a1a822ac 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
More information about the Python-checkins
mailing list