]> granicus.if.org Git - python/commitdiff
Docstring typo fix
authorAndrew M. Kuchling <amk@amk.ca>
Wed, 13 Nov 2002 13:25:46 +0000 (13:25 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Wed, 13 Nov 2002 13:25:46 +0000 (13:25 +0000)
Lib/random.py

index e2c675c553643a603de9d0a9f3f05a06237e0415..1e832e2da113b67f0450988753df2720eb749313 100644 (file)
@@ -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