diff options
author | Tim Peters <tim.peters@gmail.com> | 2005-08-26 15:20:46 +0000 |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2005-08-26 15:20:46 +0000 |
commit | b70be768086f23e7712832ec868cde971662a1a3 (patch) | |
tree | 5af04fbec05187bef207aac7d2a8940eae3178db /Lib/random.py | |
parent | ecd2dbc3eb0767b5ae97f65cffb5e7b898da8274 (diff) | |
download | cpython-b70be768086f23e7712832ec868cde971662a1a3.tar.gz |
Whitespace normalization (via reindent.py).
Diffstat (limited to 'Lib/random.py')
-rw-r--r-- | Lib/random.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/random.py b/Lib/random.py index 3e6941e178..b4ad2b38ae 100644 --- a/Lib/random.py +++ b/Lib/random.py @@ -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) |