summaryrefslogtreecommitdiff
path: root/Modules/socketmodule.h
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-03-23 23:16:54 +0000
committerBrett Cannon <bcannon@gmail.com>2004-03-23 23:16:54 +0000
commit79a8a18338c724b0ef6ef74e13aeda26233661ea (patch)
tree92b4584ff9284535e68ddb0c7a7156b7a34b2945 /Modules/socketmodule.h
parent54501bebbb9ff4f0a43196c7db5453a8f277bf40 (diff)
downloadcpython-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.h1
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