diff --git a/data_structures/hashing/bloom_filter.py b/data_structures/hashing/bloom_filter.py index 7ec5a4f35..a92c5d86b 100644 --- a/data_structures/hashing/bloom_filter.py +++ b/data_structures/hashing/bloom_filter.py @@ -30,8 +30,8 @@ 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)} -{'The Goodfather': '00011000', 'Interstellar': '00000011', 'Parasite': '00010010': 'Pulp Fiction': '10000100'} +>>> {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