diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-04-13 14:41:19 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-04-13 14:41:19 (GMT) |
commit | f42d32cb27456fa244d67a36c1a7270b9421e7a4 (patch) | |
tree | 96f291cc950a0ab8943b52422cc67d407e638b7c | |
parent | 5961042061cb055c5e557816fc8d18e87c477617 (diff) | |
download | cpython-f42d32cb27456fa244d67a36c1a7270b9421e7a4.zip cpython-f42d32cb27456fa244d67a36c1a7270b9421e7a4.tar.gz cpython-f42d32cb27456fa244d67a36c1a7270b9421e7a4.tar.bz2 |
BDFL agreed with Tim: rehabilitate randint().
-rw-r--r-- | Lib/random.py | 2 |
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) |