BDFL agreed with Tim: rehabilitate randint().
This commit is contained in:
parent
5961042061
commit
f42d32cb27
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue