From 0e654222e74eac29b8a6d0983d72bee841de161e Mon Sep 17 00:00:00 2001 From: Anthony Baxter Date: Thu, 18 Apr 2002 05:00:45 +0000 Subject: [PATCH] backport nnorwitz's patch: BDFL agreed with Tim: rehabilitate randint(). --- Lib/random.py | 2 -- 1 file changed, 2 deletions(-) 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) -- 2.47.3