mirror of
https://github.com/TheAlgorithms/Python.git
synced 2026-03-13 09:50:19 +08:00
type hints
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user