Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 80933:50d19c2fac82
Issue #16717: get rid of socket.error, replace with OSError
| author | Andrew Svetlov <andrew.svetlov@gmail.com> |
|---|---|
| date | Tue, 18 Dec 2012 23:10:48 +0200 |
| parents | 5435a9278028 |
| children | 13e2e44db99d |
line wrap: on
line diff
--- a/Modules/socketmodule.c Tue Dec 18 22:02:39 2012 +0200 +++ b/Modules/socketmodule.c Tue Dec 18 23:10:48 2012 +0200 @@ -15,7 +15,7 @@ Module interface: -- socket.error: exception raised for socket specific errors +- socket.error: exception raised for socket specific errors, alias for OSError - socket.gaierror: exception raised for getaddrinfo/getnameinfo errors, a subclass of socket.error - socket.herror: exception raised for gethostby* errors,
