From 42d3a3d036edc55a694886adfed72273e545c55b Mon Sep 17 00:00:00 2001 From: "neiljp (Neil Pilgrim)" Date: Sun, 20 Aug 2017 18:59:17 -0700 Subject: [PATCH] Type annotations: Image.rotate bool->int for a parameter. --- PIL/Image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PIL/Image.py b/PIL/Image.py index a3a065937..82ff7e6dd 100644 --- a/PIL/Image.py +++ b/PIL/Image.py @@ -1815,7 +1815,7 @@ class Image(object): def rotate(self, angle, resample=NEAREST, expand=0, center=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 copy of this image, rotated the given number of degrees counter