mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-12 18:26:17 +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
|
||||
|
||||
:param format: Image format.
|
||||
:returns: png version of the image as bytes
|
||||
:returns: image as bytes, saved into the given format.
|
||||
"""
|
||||
b = io.BytesIO()
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user