From ea002a1affff34ae89b691394acc5e67b55069fd Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Wed, 13 Nov 2002 13:25:46 +0000 Subject: [PATCH] Docstring typo fix --- Lib/random.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.49.0