Merge pull request #2984 from radarhere/typo

Fixed typo
This commit is contained in:
Hugo 2018-01-28 09:40:12 +02:00 committed by GitHub
commit b9d4105ea2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1457,7 +1457,7 @@ class Image(object):
"""
Maps this image through a lookup table or function.
:param lut: A lookup table, containing 256 (or 65336 if
:param lut: A lookup table, containing 256 (or 65536 if
self.mode=="I" and mode == "L") values per band in the
image. A function can be used instead, it should take a
single argument. The function is called once for each
@ -2102,7 +2102,7 @@ class Image(object):
in the output image.
:returns: An :py:class:`~PIL.Image.Image` object.
"""
if self.mode == 'LA':
return self.convert('La').transform(
size, method, data, resample, fill).convert('LA')