[Python-checkins] cpython (3.2): fix typo; thanks to Jérôme Mainka from docs@

sandro.tosi python-checkins at python.org
Sat Apr 14 16:02:28 CEST 2012


http://hg.python.org/cpython/rev/38f8c779f5f8
changeset:   76301:38f8c779f5f8
branch:      3.2
parent:      76299:5fe73997523a
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Sat Apr 14 16:01:17 2012 +0200
summary:
  fix typo; thanks to Jérôme Mainka from docs@

files:
  Doc/library/random.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/random.rst b/Doc/library/random.rst
--- a/Doc/library/random.rst
+++ b/Doc/library/random.rst
@@ -309,7 +309,7 @@
    >>> 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::

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list