Type annotations: Annotate self.tile & add FIXME.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-08-19 13:36:18 -07:00 committed by Eric Soroos
parent 04f7ac3085
commit 363e409b58

View File

@ -726,7 +726,7 @@ class Image(object):
def __setstate__(self, state):
# type: (List) -> None
Image.__init__(self)
self.tile = []
self.tile = [] # type: List[Tuple] ## FIXME More detail? Should tile be in __init__ & _new?
info, mode, size, palette, data = state
self.info = info
self.mode = mode