Skip to content
Browse files

Fix docstring of BloomFilter.intersection

The docstring says union when it means intersection.
  • Loading branch information...
1 parent abfccef commit f9e9ddab682dfda2e8f7230e3a977b785b7a93bd @bobpoekert bobpoekert committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 pybloom/pybloom.py
View
2 pybloom/pybloom.py
@@ -208,7 +208,7 @@ def __or__(self, other):
return self.union(other)
def intersection(self, other):
- """ Calculates the union of the two underlying bitarrays and returns
+ """ Calculates the intersection of the two underlying bitarrays and returns
a new bloom filter object."""
if self.capacity != other.capacity or \
self.error_rate != other.error_rate:

0 comments on commit f9e9dda

Please sign in to comment.
Something went wrong with that request. Please try again.