summaryrefslogtreecommitdiffstats
path: root/Lib/random.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/random.py')
-rw-r--r--Lib/random.py41
1 files changed, 21 insertions, 20 deletions
diff --git a/Lib/random.py b/Lib/random.py
index 9e899ad..21cff89 100644
--- a/Lib/random.py
+++ b/Lib/random.py
@@ -1,23 +1,24 @@
-# R A N D O M V A R I A B L E G E N E R A T O R S
-#
-# distributions on the real line:
-# ------------------------------
-# normal (Gaussian)
-# lognormal
-# negative exponential
-# gamma
-# beta
-#
-# distributions on the circle (angles 0 to 2pi)
-# ---------------------------------------------
-# circular uniform
-# von Mises
-
-# Translated from anonymously contributed C/C++ source.
-
-# Multi-threading note: the random number generator used here is not
-# thread-safe; it is possible that two calls return the same random
-# value. See whrandom.py for more info.
+"""Random variable generators.
+
+ distributions on the real line:
+ ------------------------------
+ normal (Gaussian)
+ lognormal
+ negative exponential
+ gamma
+ beta
+
+ distributions on the circle (angles 0 to 2pi)
+ ---------------------------------------------
+ circular uniform
+ von Mises
+
+Translated from anonymously contributed C/C++ source.
+
+Multi-threading note: the random number generator used here is not
+thread-safe; it is possible that two calls return the same random
+value. See whrandom.py for more info.
+"""
import whrandom
from whrandom import random, uniform, randint, choice, randrange # For export!