Issue #22823: Use set literals instead of creating a set from a list

This commit is contained in:
Raymond Hettinger 2014-11-09 15:56:33 -08:00
parent bf764a1912
commit df1b699447
10 changed files with 19 additions and 20 deletions

View file

@ -1230,8 +1230,8 @@ class MH(Mailbox):
class Babyl(_singlefileMailbox):
"""An Rmail-style Babyl mailbox."""
_special_labels = frozenset(('unseen', 'deleted', 'filed', 'answered',
'forwarded', 'edited', 'resent'))
_special_labels = frozenset({'unseen', 'deleted', 'filed', 'answered',
'forwarded', 'edited', 'resent'})
def __init__(self, path, factory=None, create=True):
"""Initialize a Babyl mailbox."""