diff options
author | Brett Cannon <bcannon@gmail.com> | 2004-03-23 23:16:54 +0000 |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2004-03-23 23:16:54 +0000 |
commit | 79a8a18338c724b0ef6ef74e13aeda26233661ea (patch) | |
tree | 92b4584ff9284535e68ddb0c7a7156b7a34b2945 /Modules/socketmodule.h | |
parent | 54501bebbb9ff4f0a43196c7db5453a8f277bf40 (diff) | |
download | cpython-79a8a18338c724b0ef6ef74e13aeda26233661ea.tar.gz |
Make socket.sslerror a subclass of socket.error .
Added socket.error to the socket module's C API.
Diffstat (limited to 'Modules/socketmodule.h')
-rw-r--r-- | Modules/socketmodule.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h index e81b5b40e7..601c2820a5 100644 --- a/Modules/socketmodule.h +++ b/Modules/socketmodule.h @@ -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 |