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 2f47d8dcc735234bf9c7f92fbdacd8c5a6ee7761)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
1 file changed