Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
  • Loading branch information
n3011 and hugovk committed May 14, 2023
1 parent 59b7a48 commit f328383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PIL/Image.py
Expand Up @@ -650,14 +650,14 @@ def _repr_image(self, image_format):
def _repr_png_(self):
"""iPython display hook support for PNG format.
:returns: png version of the image as bytes
:returns: PNG version of the image as bytes
"""
return self._repr_image("PNG")

def _repr_jpeg_(self):
"""iPython display hook support for JPEG format.
:returns: jpeg version of the image as bytes
:returns: JPEG version of the image as bytes
"""
return self._repr_image("JPEG")

Expand Down

0 comments on commit f328383

Please sign in to comment.