From: Neal Norwitz Date: Sat, 13 Apr 2002 14:41:19 +0000 (+0000) Subject: BDFL agreed with Tim: rehabilitate randint(). X-Git-Tag: v2.3c1~5980 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f42d32cb27456fa244d67a36c1a7270b9421e7a4;p=python BDFL agreed with Tim: rehabilitate randint(). --- diff --git a/Lib/random.py b/Lib/random.py index 4259973a4a..f502d1dee7 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -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)