1. python_mirrors
  2. sandbox/bcannon

Commits

sandrotosi  committed 38f8c77

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

  • Participants
  • Parent commits 5fe7399
  • Branches 3.2

Comments (0)

Files changed (1)

File Doc/library/random.rst

View file
    >>> 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::