From: Anthony Baxter Date: Thu, 18 Apr 2002 05:00:45 +0000 (+0000) Subject: backport nnorwitz's patch: X-Git-Tag: v2.2.2b1~433 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0e654222e74eac29b8a6d0983d72bee841de161e;p=thirdparty%2FPython%2Fcpython.git backport nnorwitz's patch: BDFL agreed with Tim: rehabilitate randint(). --- diff --git a/Lib/random.py b/Lib/random.py index 4259973a4ade..f502d1dee7c1 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)