We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 54041ff commit 483a2a0Copy full SHA for 483a2a0
data_structures/hashing/bloom_filter.py
@@ -30,7 +30,7 @@
30
31
Not added elements should return False ...
32
>>> not_present_films = ("The Goodfather", "Interstellar", "Parasite", "Pulp Fiction")
33
->>> {film: bloom.format_hash(film) for film in not_present_films)}
+>>> {film: bloom.format_hash(film) for film in not_present_films)}
34
{'The Goodfather': '00011000', 'Interstellar': '00000011', 'Parasite': '00010010': 'Pulp Fiction': '10000100'}
35
>>> any(film in bloom for film in not_present_films)
36
False
0 commit comments