mirror of https://github.com/python/cpython.git
Add connect_ex to list of methods.
This commit is contained in:
parent
4b601ae381
commit
64d036c8fe
|
@ -43,7 +43,7 @@ def makefile(self, mode='r', bufsize=-1):
|
|||
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',
|
||||
|
|
Loading…
Reference in New Issue