[Python-checkins] python/dist/src/Lib random.py,1.26,1.26.6.1

anthonybaxter@sourceforge.net anthonybaxter@sourceforge.net
Wed, 17 Apr 2002 22:00:47 -0700


Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv9462/Lib

Modified Files:
      Tag: release22-maint
	random.py 
Log Message:
backport nnorwitz's patch:

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.26.6.1
diff -C2 -d -r1.26 -r1.26.6.1
*** random.py	25 Nov 2001 21:12:43 -0000	1.26
--- random.py	18 Apr 2002 05:00:45 -0000	1.26.6.1
***************
*** 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 ----