From 483a2a0ab2964d2425f09cd2379de89a013fd627 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sat, 8 Apr 2023 14:49:30 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- data_structures/hashing/bloom_filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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