summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-04-14 01:30:45 (GMT)
committerGuido van Rossum <guido@python.org>1998-04-14 01:30:45 (GMT)
commit64d036c8fe3cd4be0a3cbd23942ced14235adaeb (patch)
treef8bb3666265d780743811cd010ee77a92e86c18b /Lib
parent4b601ae3817dfcc7c20ff4de07a917088a393980 (diff)
downloadcpython-64d036c8fe3cd4be0a3cbd23942ced14235adaeb.zip
cpython-64d036c8fe3cd4be0a3cbd23942ced14235adaeb.tar.gz
cpython-64d036c8fe3cd4be0a3cbd23942ced14235adaeb.tar.bz2
Add connect_ex to list of methods.
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/plat-win/socket.py2
1 files changed, 1 insertions, 1 deletions
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',