]> granicus.if.org Git - python/commitdiff
BDFL agreed with Tim: rehabilitate randint().
authorNeal Norwitz <nnorwitz@gmail.com>
Sat, 13 Apr 2002 14:41:19 +0000 (14:41 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Sat, 13 Apr 2002 14:41:19 +0000 (14:41 +0000)
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)