mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Add connect_ex to list of methods.
This commit is contained in:
parent
4b601ae381
commit
64d036c8fe
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue