Преглед на файлове

Lots of pep8-related chanages

dstromberg преди 14 години
родител
ревизия
8c60462a85
променени са 1 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 2 0
      bloom_filter_mod.py

+ 2 - 0
bloom_filter_mod.py

@@ -11,6 +11,7 @@ import math
 import array
 import random
 
+
 def get_probes(bfilter, key):
 	'''Generate a bunch of fast hash functions'''
 	hasher = random.Random(key).randrange
@@ -19,6 +20,7 @@ def get_probes(bfilter, key):
 		bit_index = hasher(32)
 		yield array_index, 1 << bit_index
 
+
 class Bloom_filter:
 	'''Probabilistic set membership testing for large sets'''