Type annotations: Image.rotate bool->int for a parameter.

This commit is contained in:
neiljp (Neil Pilgrim) 2017-08-20 18:59:17 -07:00 committed by Eric Soroos
parent 636e7406b3
commit 10e2908813

View File

@ -1828,7 +1828,7 @@ class Image(object):
def rotate(self, angle, resample=NEAREST, expand=0, center=None, def rotate(self, angle, resample=NEAREST, expand=0, center=None,
translate=None): translate=None):
# type: (float, int, bool, Optional[Coord], Optional[XY]) -> Image # type: (float, int, int, Optional[Coord], Optional[XY]) -> Image
""" """
Returns a rotated copy of this image. This method returns a Returns a rotated copy of this image. This method returns a
copy of this image, rotated the given number of degrees counter copy of this image, rotated the given number of degrees counter