fix typo; thanks to Jérôme Mainka from docs@

This commit is contained in:
Sandro Tosi 2012-04-14 16:01:17 +02:00
parent 84e59aa989
commit 1ee17198c8

View File

@ -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::