Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix docstring of BloomFilter.intersection

The docstring says union when it means intersection.
  • Loading branch information...
commit f9e9ddab682dfda2e8f7230e3a977b785b7a93bd 1 parent abfccef
@bobpoekert bobpoekert authored
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:
Please sign in to comment.
Something went wrong with that request. Please try again.