summaryrefslogtreecommitdiffstats
path: root/Doc/library/random.rst
diff options
context:
space:
mode:
authorSandro Tosi <sandro.tosi@gmail.com>2012-04-14 14:01:49 (GMT)
committerSandro Tosi <sandro.tosi@gmail.com>2012-04-14 14:01:49 (GMT)
commitd2cbd9053975d6d6a98adb23b2735b2125ed0626 (patch)
tree29afa834b19640e58fdfa93fc557f9e2e49ac891 /Doc/library/random.rst
parent9c9af9d2ad0f33faacc9291549586b4df74d4b90 (diff)
parent1ee17198c818c33b482a680d38a53a40c38d3054 (diff)
downloadcpython-d2cbd9053975d6d6a98adb23b2735b2125ed0626.zip
cpython-d2cbd9053975d6d6a98adb23b2735b2125ed0626.tar.gz
cpython-d2cbd9053975d6d6a98adb23b2735b2125ed0626.tar.bz2
merge with 3.2
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r--Doc/library/random.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst
index 2b10e6e..daf7a76 100644
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -315,7 +315,7 @@ Basic usage::
>>> random.sample([1, 2, 3, 4, 5], 3) # Three samples without replacement
[4, 1, 5]
-A common task is to make a :func:`random.choice` with weighted probababilites.
+A common task is to make a :func:`random.choice` with weighted probabilities.
If the weights are small integer ratios, a simple technique is to build a sample
population with repeats::