Replace set([]) with {}.
This commit is contained in:
parent
a30649b0a8
commit
0a8a754cbc
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ def expand_mmf(tag_musts, tag_mays, tag_forbids):
|
||||||
for tag in tagset:
|
for tag in tagset:
|
||||||
if tag in total:
|
if tag in total:
|
||||||
continue
|
continue
|
||||||
this_expanded = _expand_flat(set([tag]))
|
this_expanded = _expand_flat({tag})
|
||||||
total.update(this_expanded)
|
total.update(this_expanded)
|
||||||
expanded.append(this_expanded)
|
expanded.append(this_expanded)
|
||||||
return expanded
|
return expanded
|
||||||
|
|
Loading…
Reference in a new issue