diff options
author | Sandro Tosi <sandro.tosi@gmail.com> | 2012-04-14 14:01:17 (GMT) |
---|---|---|
committer | Sandro Tosi <sandro.tosi@gmail.com> | 2012-04-14 14:01:17 (GMT) |
commit | 1ee17198c818c33b482a680d38a53a40c38d3054 (patch) | |
tree | ffbc6f19e13b384356c42e5c7a8f110fca278de0 /Doc/library/random.rst | |
parent | 84e59aa989bebdd39d96156e5041dd79bde5a192 (diff) | |
download | cpython-1ee17198c818c33b482a680d38a53a40c38d3054.zip cpython-1ee17198c818c33b482a680d38a53a40c38d3054.tar.gz cpython-1ee17198c818c33b482a680d38a53a40c38d3054.tar.bz2 |
fix typo; thanks to Jérôme Mainka from docs@
Diffstat (limited to 'Doc/library/random.rst')
-rw-r--r-- | Doc/library/random.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/random.rst b/Doc/library/random.rst index 31cb945..5aa1262 100644 --- a/Doc/library/random.rst +++ b/Doc/library/random.rst @@ -309,7 +309,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:: |