Replace IOError with OSError (#16715)
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index f1a071b..a59639b 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -422,7 +422,7 @@
                 # no good; attempt to clean it out, but don't fail:
                 try:
                     os.unlink(fn)
-                except IOError:
+                except OSError:
                     pass
             else:
                 return s