Replace mentions of socket.error.
diff --git a/Doc/library/urllib.error.rst b/Doc/library/urllib.error.rst
index 282329f..793d3e2 100644
--- a/Doc/library/urllib.error.rst
+++ b/Doc/library/urllib.error.rst
@@ -21,8 +21,7 @@
    .. attribute:: reason
 
       The reason for this error.  It can be a message string or another
-      exception instance (:exc:`socket.error` for remote URLs, :exc:`OSError`
-      for local URLs).
+      exception instance such as :exc:`OSError`.
 
 
 .. exception:: HTTPError