Skip to content

Commit 8fe2016

Browse files
authored
Merge pull request #105 from radarhere/docs-link-exceptions
Docs: link exceptions to Python docs
2 parents 38be37c + 8cbd0b5 commit 8fe2016

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docs/releasenotes/8.3.1.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,10 @@ Catch OSError when checking if destination is sys.stdout
2222
========================================================
2323

2424
In 8.3.0, a check to see if the destination was ``sys.stdout`` when saving an image was
25-
updated. This lead to an OSError being raised if the environment restricted access.
25+
updated. This lead to an :py:exc:`OSError` being raised if the environment restricted
26+
access.
2627

27-
The OSError is now silently caught.
28+
The :py:exc:`OSError` is now silently caught.
2829

2930
Fixed removing orientation in ImageOps.exif_transpose
3031
=====================================================
@@ -34,7 +35,7 @@ original image EXIF data was not modified, and the orientation was only removed
3435
the modified copy.
3536

3637
However, for certain images the orientation was already missing from the modified
37-
image, leading to a KeyError.
38+
image, leading to a :py:exc:`KeyError`.
3839

3940
This error has been resolved, and the copying of metadata to the modified image
4041
improved.

0 commit comments

Comments
 (0)