1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00

Refs #24522 -- Fixed code comment about seeds in Shuffler.__init__().

This commit is contained in:
Chris Jerdonek
2021-07-08 23:20:16 -07:00
committed by GitHub
parent ae32e337e0
commit f5dccbafb9

View File

@@ -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: