[Python-checkins] python/dist/src/Lib random.py,1.26,1.27
nnorwitz@sourceforge.net
nnorwitz@sourceforge.net
Sat, 13 Apr 2002 07:41:22 -0700
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv5598/Lib
Modified Files:
random.py
Log Message:
BDFL agreed with Tim: rehabilitate randint().
Index: random.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/random.py,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** random.py 25 Nov 2001 21:12:43 -0000 1.26
--- random.py 13 Apr 2002 14:41:19 -0000 1.27
***************
*** 316,321 ****
def randint(self, a, b):
"""Return random integer in range [a, b], including both end points.
-
- (Deprecated; use randrange(a, b+1).)
"""
--- 316,319 ----