summaryrefslogtreecommitdiffstats
path: root/Modules/socketmodule.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-11-20 21:39:02 (GMT)
committerBarry Warsaw <barry@python.org>1997-11-20 21:39:02 (GMT)
commit0d2d759d8c7dee8317cf02ae90d18613629004dd (patch)
tree6d4646988bf26717a5fccf2ea6439e6e9faac187 /Modules/socketmodule.c
parent4a9aff2eba7ca6d086ed1301a9985bdbd1c1dcc3 (diff)
downloadcpython-0d2d759d8c7dee8317cf02ae90d18613629004dd.zip
cpython-0d2d759d8c7dee8317cf02ae90d18613629004dd.tar.gz
cpython-0d2d759d8c7dee8317cf02ae90d18613629004dd.tar.bz2
PySocketSock_methods: Added "connect_ex" so the method can actually be
called!
Diffstat (limited to 'Modules/socketmodule.c')
-rw-r--r--Modules/socketmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index a225047..5819346 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -980,6 +980,7 @@ static PyMethodDef PySocketSock_methods[] = {
{"bind", (PyCFunction)PySocketSock_bind},
{"close", (PyCFunction)PySocketSock_close},
{"connect", (PyCFunction)PySocketSock_connect},
+ {"connect_ex", (PyCFunction)PySocketSock_connect_ex},
{"fileno", (PyCFunction)PySocketSock_fileno},
#ifndef NO_DUP
{"dup", (PyCFunction)PySocketSock_dup},