소스 검색

Improved a docstring

dstromberg 14 년 전
부모
커밋
10bad30ac1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      bloom_filter_mod.py

+ 1 - 1
bloom_filter_mod.py

@@ -13,7 +13,7 @@ import random
 
 
 def get_probes(bfilter, key):
-	'''Generate a bunch of fast hash functions'''
+	'''Generate a bunch of fast hash functions - the output of this function is knoown tersely in the literature as "K"'''
 	hasher = random.Random(key).randrange
 	for _ in range(bfilter.num_probes):
 		array_index = hasher(len(bfilter.array_))