Commit f42d32cb authored by Neal Norwitz's avatar Neal Norwitz

BDFL agreed with Tim: rehabilitate randint().

parent 59610420
...@@ -315,8 +315,6 @@ class Random: ...@@ -315,8 +315,6 @@ class Random:
def randint(self, a, b): def randint(self, a, b):
"""Return random integer in range [a, b], including both end points. """Return random integer in range [a, b], including both end points.
(Deprecated; use randrange(a, b+1).)
""" """
return self.randrange(a, b+1) return self.randrange(a, b+1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment