Whitespace normalization (via reindent.py).
This commit is contained in:
parent
e8889c5741
commit
9e34c04732
|
@ -107,4 +107,3 @@ except ImportError:
|
|||
sha256 = __get_builtin_constructor('sha256')
|
||||
sha384 = __get_builtin_constructor('sha384')
|
||||
sha512 = __get_builtin_constructor('sha512')
|
||||
|
||||
|
|
|
@ -303,7 +303,7 @@ class Random(_random.Random):
|
|||
result = [None] * k
|
||||
setsize = 21 # size of a small set minus size of an empty list
|
||||
if k > 5:
|
||||
setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets
|
||||
setsize += 4 ** _ceil(_log(k * 3, 4)) # table size for big sets
|
||||
if n <= setsize: # is an n-length list smaller than a k-length set
|
||||
pool = list(population)
|
||||
for i in xrange(k): # invariant: non-selected at [0,n-i)
|
||||
|
|
|
@ -90,4 +90,3 @@ test_scaled_msg(scale=212, name='[2*small data]')
|
|||
test_scaled_msg(scale=106, name='[small data]')
|
||||
test_scaled_msg(scale=creatorFunc().digest_size, name='[digest_size data]')
|
||||
test_scaled_msg(scale=10, name='[tiny data]')
|
||||
|
||||
|
|
|
@ -102,5 +102,3 @@ for fullpath in pysource.walk_python_files(args, is_python):
|
|||
result = needs_declaration(fullpath)
|
||||
if result:
|
||||
print fullpath
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue