From 0a8a754cbcc8794493f0505bab804ff79012c4e3 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 19 Mar 2020 17:40:52 -0700 Subject: [PATCH] Replace set([]) with {}. --- etiquette/searchhelpers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etiquette/searchhelpers.py b/etiquette/searchhelpers.py index 092227b..a7bc3aa 100644 --- a/etiquette/searchhelpers.py +++ b/etiquette/searchhelpers.py @@ -48,7 +48,7 @@ def expand_mmf(tag_musts, tag_mays, tag_forbids): for tag in tagset: if tag in total: continue - this_expanded = _expand_flat(set([tag])) + this_expanded = _expand_flat({tag}) total.update(this_expanded) expanded.append(this_expanded) return expanded