Use variable annotation instead of comment

This commit is contained in:
Joakim Soderlund 2017-08-02 02:06:04 +02:00
parent cea1fed78f
commit b097871279

View file

@ -44,7 +44,6 @@ __all__ = (
)
FlavorSet = FrozenSet[Flavor]
StreamReader = codecs.getreader('utf-8')
@ -55,7 +54,7 @@ class Fetcher:
prefetch_meta = False
prefetch_data = False
flavors = frozenset() # type: FlavorSet
flavors: FrozenSet[Flavor] = frozenset()
def __enter__(self):
"""