mirror of
https://github.com/Legrandin/pycryptodome.git
synced 2025-10-19 16:03:45 +00:00
Merge 337aa76a56
into 2c3a8905a7
This commit is contained in:
commit
76ed72a22a
1 changed files with 0 additions and 2 deletions
|
@ -68,8 +68,6 @@ class StrongRandom(object):
|
|||
raise ValueError("randrange step argument must not be zero")
|
||||
|
||||
num_choices = ceil_div(stop - start, step)
|
||||
if num_choices < 0:
|
||||
num_choices = 0
|
||||
if num_choices < 1:
|
||||
raise ValueError("empty range for randrange(%r, %r, %r)" % (start, stop, step))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue