浏览代码

Moved an import for pylint

dstromberg 9 年之前
父节点
当前提交
1de2d48f19
共有 1 个文件被更改,包括 6 次插入4 次删除
  1. 6 4
      bloom_filter_mod.py

+ 6 - 4
bloom_filter_mod.py

@@ -18,10 +18,6 @@ import os
 import math
 import math
 import array
 import array
 import random
 import random
-#mport bufsock
-#mport hashlib
-#mport numbers
-import python2x3
 
 
 try:
 try:
     import mmap as mmap_mod
     import mmap as mmap_mod
@@ -31,6 +27,12 @@ except ImportError:
 else:
 else:
     HAVE_MMAP = True
     HAVE_MMAP = True
 
 
+#mport bufsock
+#mport hashlib
+#mport numbers
+
+import python2x3
+
 # In the literature:
 # In the literature:
 # k is the number of probes - we call this num_probes_k
 # k is the number of probes - we call this num_probes_k
 # m is the number of bits in the filter - we call this num_bits_m
 # m is the number of bits in the filter - we call this num_bits_m