From 10e29088132fe9f31e03eb0b78217680d52c3d84 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. --- src/PIL/Image.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/Image.py b/src/PIL/Image.py index 9696f5d50..858b585a1 100644 --- a/src/PIL/Image.py +++ b/src/PIL/Image.py @@ -1828,7 +1828,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