[todo] we should add __enter__ and __exit__ methods to the BloomFilter class. So we can use the context manager patterns.
This would let us do:
with pybloomfilter.BloomFilter(...) as bf:
bf.add(test_data)
_Originally posted by @prashnts in #14 (comment)
[todo] we should add
__enter__and__exit__methods to theBloomFilterclass. So we can use thecontext managerpatterns.This would let us do:
_Originally posted by @prashnts in #14 (comment)