summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.h
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2004-03-23 23:16:54 (GMT)
committerBrett Cannon <bcannon@gmail.com>2004-03-23 23:16:54 (GMT)
commit06c34798df6c99cf88ecab98bc7b7f78dfde3ff8 (patch)
treef459cb5821336b8d9dc26d0cbd4f3e8b7913e704 /Modules/socketmodule.h
parentfee6f33e08b8b67d260bcf753dceaeb4184baf52 (diff)
downloadcpython-06c34798df6c99cf88ecab98bc7b7f78dfde3ff8.zip
cpython-06c34798df6c99cf88ecab98bc7b7f78dfde3ff8.tar.gz
cpython-06c34798df6c99cf88ecab98bc7b7f78dfde3ff8.tar.bz2
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 e81b5b4..601c282 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