summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-04-13 14:41:19 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-04-13 14:41:19 (GMT)
commitf42d32cb27456fa244d67a36c1a7270b9421e7a4 (patch)
tree96f291cc950a0ab8943b52422cc67d407e638b7c
parent5961042061cb055c5e557816fc8d18e87c477617 (diff)
downloadcpython-f42d32cb27456fa244d67a36c1a7270b9421e7a4.zip
cpython-f42d32cb27456fa244d67a36c1a7270b9421e7a4.tar.gz
cpython-f42d32cb27456fa244d67a36c1a7270b9421e7a4.tar.bz2
BDFL agreed with Tim: rehabilitate randint().
-rw-r--r--Lib/random.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Lib/random.py b/Lib/random.py
index 4259973..f502d1d 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)