fix MAX_PIXELS typo

This commit is contained in:
nulano 2020-07-11 12:38:00 +02:00
parent a8fabf9521
commit 8d105aae18
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ nitpick_ignore = [
("py:attr", "PIL.Image.Image.tag"),
("py:attr", "PIL.Image.Image.tag_v2"),
("py:attr", "PIL.Image.Image.tile"),
("py:data", "PIL.Image.MAX_PIXELS"),
("py:data", "PIL.Image.MAX_IMAGE_PIXELS"),
("py:func", "PIL.ImageMath.convert"),
("py:func", "PIL.ImageMath.float"),
("py:func", "PIL.ImageMath.int"),

View File

@ -27,7 +27,7 @@ New DecompressionBomb Warning
:py:meth:`PIL.Image.Image.crop` now may raise a DecompressionBomb
warning if the crop region enlarges the image over the threshold
specified by :py:data:`PIL.Image.MAX_PIXELS`.
specified by :py:data:`PIL.Image.MAX_IMAGE_PIXELS`.
Removed Deprecated Items
========================