mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-03-03 13:28:40 +00:00
type hints
This commit is contained in:
parent
e6ce09836d
commit
e4d39db77e
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user