mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-26 15:14:45 +03:00
Type annotations: Image.rotate bool->int for a parameter.
This commit is contained in:
parent
636e7406b3
commit
10e2908813
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user