Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 6618:04313d4f93ff legacy-trunk
PySocketSock_methods: Added "connect_ex" so the method can actually be
called!
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Thu, 20 Nov 1997 21:39:02 +0000 |
| parents | f67a6339ede7 |
| children | 5e31d381fa47 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Thu Nov 20 21:15:28 1997 +0000 +++ b/Modules/socketmodule.c Thu Nov 20 21:39:02 1997 +0000 @@ -980,6 +980,7 @@ {"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},
