Merge pull request #5277 from jcea/typo

Example from filter should be next to filter method docs, not in 'frombytes'
This commit is contained in:
Andrew Murray 2021-02-24 20:04:53 +11:00 committed by GitHub
commit 585683ce25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -160,7 +160,6 @@ This crops the input image with the provided coordinates:
.. automethod:: PIL.Image.Image.effect_spread
.. automethod:: PIL.Image.Image.entropy
.. automethod:: PIL.Image.Image.filter
.. automethod:: PIL.Image.Image.frombytes
This blurs the input image using a filter from the ``ImageFilter`` module:
@ -173,6 +172,7 @@ This blurs the input image using a filter from the ``ImageFilter`` module:
# Blur the input image using the filter ImageFilter.BLUR
im_blurred = im.filter(filter=ImageFilter.BLUR)
.. automethod:: PIL.Image.Image.frombytes
.. automethod:: PIL.Image.Image.getbands
This helps to get the bands of the input image: