merge with 3.2

This commit is contained in:
Sandro Tosi 2012-04-14 16:01:49 +02:00
commit d2cbd90539

View file

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