From 39cd9764924b532c1eccc2936b9fecb88a774ec6 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sun, 6 Jan 2019 21:29:54 +1100 Subject: [PATCH] Apply suggestions from code review Co-Authored-By: radarhere <3112309+radarhere@users.noreply.github.com> --- docs/releasenotes/5.4.1.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/releasenotes/5.4.1.rst b/docs/releasenotes/5.4.1.rst index 350195f2c..78f483db6 100644 --- a/docs/releasenotes/5.4.1.rst +++ b/docs/releasenotes/5.4.1.rst @@ -26,11 +26,11 @@ type for PNG files, causing "image/apng" to be returned as the MIME type of both APNG and PNG files. This has been fixed so the MIME type of PNG files is "image/png". -File Closing +File closing ^^^^^^^^^^^^ A regression caused an unsupported image file to report a ``ValueError: seek of closed file`` exception instead of an ``OSError``. This -has been fixed by ensuring that image plugins only close their internal `__fp` -if they are not the same as ImageFile's `fp`, allowing each to manage their own +has been fixed by ensuring that image plugins only close their internal ``__fp`` +if they are not the same as ``ImageFile``'s ``fp``, allowing each to manage their own file pointers.