bpo-43927: Change 'IOError' to 'OSError' (GH-26289)

This is the last remaining instance, at least for this chapter, in 3.10 & 3.11.
(cherry picked from commit 2f47d8dcc7)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
This commit is contained in:
Miss Islington (bot) 2021-05-21 11:17:10 -07:00 committed by GitHub
parent bcd59134f5
commit e10bd76d47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -305,7 +305,7 @@ disabled by using ``from None`` idiom:
>>> try:
... open('database.sqlite')
... except IOError:
... except OSError:
... raise RuntimeError from None
...
Traceback (most recent call last):