From e4d39db77ecde7f65489926b58239ded04624c73 Mon Sep 17 00:00:00 2001 From: Isidro Arias Date: Thu, 6 Apr 2023 13:59:52 +0200 Subject: [PATCH] type hints --- data_structures/hashing/bloom_filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structures/hashing/bloom_filter.py b/data_structures/hashing/bloom_filter.py index d463142cd..edcb9abdb 100644 --- a/data_structures/hashing/bloom_filter.py +++ b/data_structures/hashing/bloom_filter.py @@ -25,7 +25,7 @@ class Bloom: """ ) - def exists(self, value: str)-> bool: + def exists(self, value: str) -> bool: h = self.hash_(value) res = (h & self.bitstring) == h