Issue #16717: get rid of socket.error, replace with OSError
diff --git a/Lib/webbrowser.py b/Lib/webbrowser.py
index 8ebfa3c..691f7db 100644
--- a/Lib/webbrowser.py
+++ b/Lib/webbrowser.py
@@ -418,7 +418,7 @@
             # need to PING each one until we find one that's live
             try:
                 s.connect(fn)
-            except socket.error:
+            except OSError:
                 # no good; attempt to clean it out, but don't fail:
                 try:
                     os.unlink(fn)