]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport nnorwitz's patch:
authorAnthony Baxter <anthonybaxter@gmail.com>
Thu, 18 Apr 2002 05:00:45 +0000 (05:00 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Thu, 18 Apr 2002 05:00:45 +0000 (05:00 +0000)
BDFL agreed with Tim: rehabilitate randint().

Lib/random.py

index 4259973a4ade8f5d9d6319ab6faf53c54dde0b73..f502d1dee7c1f83d4ae861248bb7d8605d2ad526 100644 (file)
@@ -315,8 +315,6 @@ class Random:
 
     def randint(self, a, b):
         """Return random integer in range [a, b], including both end points.
-
-        (Deprecated; use randrange(a, b+1).)
         """
 
         return self.randrange(a, b+1)