Make socket.sslerror a subclass of socket.error .

Added socket.error to the socket module's C API.
This commit is contained in:
Brett Cannon 2004-03-23 23:16:54 +00:00
parent fee6f33e08
commit 06c34798df
4 changed files with 9 additions and 1 deletions

View file

@ -160,6 +160,7 @@ typedef struct {
/* 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