mirror of https://github.com/django/django.git
Refs #24522 -- Fixed code comment about seeds in Shuffler.__init__().
This commit is contained in:
parent
ae32e337e0
commit
f5dccbafb9
|
@ -492,7 +492,7 @@ class Shuffler:
|
|||
|
||||
def __init__(self, seed=None):
|
||||
if seed is None:
|
||||
# Limit seeds to 9 digits for simpler output.
|
||||
# Limit seeds to 10 digits for simpler output.
|
||||
seed = random.randint(0, 10**10 - 1)
|
||||
seed_source = 'generated'
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue