Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 64d036c

Browse files
committed
Add connect_ex to list of methods.
1 parent 4b601ae commit 64d036c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/plat-win/socket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def makefile(self, mode='r', bufsize=-1):
4343
return _fileobject(self._sock, mode, bufsize)
4444

4545
_s = "def %s(self, *args): return apply(self._sock.%s, args)\n\n"
46-
for _m in ('bind', 'connect', 'fileno', 'listen',
46+
for _m in ('bind', 'connect', 'connect_ex', 'fileno', 'listen',
4747
'getpeername', 'getsockname',
4848
'getsockopt', 'setsockopt',
4949
'recv', 'recvfrom', 'send', 'sendto',

0 commit comments

Comments
 (0)