Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.h @ 31790:29da8bdfeb4e legacy-trunk
Make socket.sslerror a subclass of socket.error .
Added socket.error to the socket module's C API.
| author | Brett Cannon <bcannon@gmail.com> |
|---|---|
| date | Tue, 23 Mar 2004 23:16:54 +0000 |
| parents | a282801b06b6 |
| children | 57f630a9de26 |
line wrap: on
line diff
--- a/Modules/socketmodule.h Tue Mar 23 21:40:07 2004 +0000 +++ b/Modules/socketmodule.h Tue Mar 23 23:16:54 2004 +0000 @@ -160,6 +160,7 @@ /* C API for usage by other Python modules */ typedef struct { PyTypeObject *Sock_Type; + PyObject *error; } PySocketModule_APIObject; /* XXX The net effect of the following appears to be to define a function
