diff options
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:: |