]> granicus.if.org Git - python/commitdiff
PySocketSock_methods: Added "connect_ex" so the method can actually be
authorBarry Warsaw <barry@python.org>
Thu, 20 Nov 1997 21:39:02 +0000 (21:39 +0000)
committerBarry Warsaw <barry@python.org>
Thu, 20 Nov 1997 21:39:02 +0000 (21:39 +0000)
called!

Modules/socketmodule.c

index a2250478d87d88a8d35df5df80aa343eb60ad837..58193467936794aa9ef9eb3a523de45ffff0563f 100644 (file)
@@ -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},