]> granicus.if.org Git - python/commitdiff
# Typos in the comments giving the names of two recently added distributions.
authorGuido van Rossum <guido@python.org>
Tue, 9 Dec 1997 19:43:18 +0000 (19:43 +0000)
committerGuido van Rossum <guido@python.org>
Tue, 9 Dec 1997 19:43:18 +0000 (19:43 +0000)
Lib/random.py

index 52a4266a42445bbfd95e231c8ca7e7d0ad2501da..ebab1f80f9ebb960f81b087717fd0f5de308c4bb 100644 (file)
@@ -212,7 +212,7 @@ def betavariate(alpha, beta):
        z = expovariate(1.0/beta)
        return z/(y+z)
 
-# -------------------- pareto --------------------
+# -------------------- Pareto --------------------
 
 def paretovariate(alpha):
        # Jain, pg. 495
@@ -220,7 +220,7 @@ def paretovariate(alpha):
        u = random()
        return 1.0 / pow(u, 1.0/alpha)
 
-# -------------------- pareto --------------------
+# -------------------- Weibull --------------------
 
 def weibullvariate(alpha, beta):
        # Jain, pg. 499; bug fix courtesy Bill Arms