mirror of
https://github.com/python/cpython
synced 2026-09-29 10:35:30 +03:00
BDFL agreed with Tim: rehabilitate randint().
This commit is contained in:
parent
5961042061
commit
f42d32cb27
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue