From 64d036c8fe3cd4be0a3cbd23942ced14235adaeb Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 14 Apr 1998 01:30:45 +0000 Subject: Add connect_ex to list of methods. --- Lib/plat-win/socket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/plat-win/socket.py b/Lib/plat-win/socket.py index 681319f..3cb9fb9 100755 --- a/Lib/plat-win/socket.py +++ b/Lib/plat-win/socket.py @@ -43,7 +43,7 @@ class _socketobject: return _fileobject(self._sock, mode, bufsize) _s = "def %s(self, *args): return apply(self._sock.%s, args)\n\n" - for _m in ('bind', 'connect', 'fileno', 'listen', + for _m in ('bind', 'connect', 'connect_ex', 'fileno', 'listen', 'getpeername', 'getsockname', 'getsockopt', 'setsockopt', 'recv', 'recvfrom', 'send', 'sendto', -- cgit v0.12