From: Sandro Tosi Date: Sat, 14 Apr 2012 14:01:17 +0000 (+0200) Subject: fix typo; thanks to Jérôme Mainka from docs@ X-Git-Tag: v3.3.0a3~232^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ee17198c818c33b482a680d38a53a40c38d3054;p=python fix typo; thanks to Jérôme Mainka from docs@ --- diff --git a/Doc/library/random.rst b/Doc/library/random.rst index 31cb945bd3..5aa126270a 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::