Type annotations: Clarify return type of Image.split.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-08-20 14:16:26 -07:00 committed by Eric Soroos
parent 2ab28d5084
commit 910236feae

View File

@ -2062,7 +2062,7 @@ class Image(object):
_show(self, title=title, command=command) _show(self, title=title, command=command)
def split(self): def split(self):
# type: () -> Tuple # type: () -> Tuple[Image, ...]
""" """
Split this image into individual bands. This method returns a Split this image into individual bands. This method returns a
tuple of individual image bands from an image. For example, tuple of individual image bands from an image. For example,