diff --git a/data_structures/hashing/bloom_filter.py b/data_structures/hashing/bloom_filter.py index fc599c3f8..7ec5a4f35 100644 --- a/data_structures/hashing/bloom_filter.py +++ b/data_structures/hashing/bloom_filter.py @@ -30,7 +30,7 @@ because both hash functions return the same value Not added elements should return False ... >>> not_present_films = ("The Goodfather", "Interstellar", "Parasite", "Pulp Fiction") ->>> {film: bloom.format_hash(film) for film in not_present_films)} +>>> {film: bloom.format_hash(film) for film in not_present_films)} {'The Goodfather': '00011000', 'Interstellar': '00000011', 'Parasite': '00010010': 'Pulp Fiction': '10000100'} >>> any(film in bloom for film in not_present_films) False