From 1ee17198c818c33b482a680d38a53a40c38d3054 Mon Sep 17 00:00:00 2001 From: Sandro Tosi Date: Sat, 14 Apr 2012 16:01:17 +0200 Subject: [PATCH] =?utf8?q?fix=20typo;=20thanks=20to=20J=C3=A9r=C3=B4me=20M?= =?utf8?q?ainka=20from=20docs@?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Doc/library/random.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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:: -- 2.50.0