]> granicus.if.org Git - python/commitdiff
fix typo; thanks to Jérôme Mainka from docs@
authorSandro Tosi <sandro.tosi@gmail.com>
Sat, 14 Apr 2012 14:01:17 +0000 (16:01 +0200)
committerSandro Tosi <sandro.tosi@gmail.com>
Sat, 14 Apr 2012 14:01:17 +0000 (16:01 +0200)
Doc/library/random.rst

index 31cb945bd36603403adb5ac0e2404d731e201a46..5aa126270adf4fb5edca641ee1bcc182dfb79dd2 100644 (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::