mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-30 18:03:07 +03:00
Apply suggestions from code review
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
parent
5377b0735f
commit
2d841e16c2
|
@ -637,7 +637,7 @@ class Image:
|
||||||
"""iPython display hook support
|
"""iPython display hook support
|
||||||
|
|
||||||
:param format: Image format.
|
:param format: Image format.
|
||||||
:returns: png version of the image as bytes
|
:returns: image as bytes, saved into the given format.
|
||||||
"""
|
"""
|
||||||
b = io.BytesIO()
|
b = io.BytesIO()
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user