From: Andrew M. Kuchling Date: Wed, 13 Nov 2002 13:25:46 +0000 (+0000) Subject: Docstring typo fix X-Git-Tag: v2.3c1~3461 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ea002a1affff34ae89b691394acc5e67b55069fd;p=python Docstring typo fix --- diff --git a/Lib/random.py b/Lib/random.py index e2c675c553..1e832e2da1 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -381,7 +381,7 @@ class Random: list itself is in random order so that all sub-slices are also random samples. The original sequence is left undisturbed. - If the population has repeated elements, then each occurence is + If the population has repeated elements, then each occurrence is a possible selection in the sample. If indices are needed for a large population, use xrange as an