Searched defs:create_connection (Results 1 - 10 of 10) sorted by relevance

/external/python/cpython3/Lib/test/
H A Dmock_socket.py114 def create_connection(address, timeout=socket_module._GLOBAL_DEFAULT_TIMEOUT, function
H A Dtest_nntplib.py1437 def create_connection(address, timeout): member in class:MockSocketTests.check_constructor_error_conditions.mock_socket_module
H A Dtest_httplib.py117 self._create_connection = self.create_connection
124 def create_connection(self, *pos, **kw): member in class:FakeSocketHTTPConnection
1844 def create_connection(address, timeout=None, source_address=None): function in function:TunnelTests._create_connection
1846 return create_connection
/external/python/cpython2/Lib/
H A Dsocket.py27 create_connection() -- connects to an address, with an optional timeout and
100 __all__ = ["getfqdn", "create_connection"]
541 def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, function
H A Dssl.py144 from socket import socket, AF_INET, SOCK_STREAM, create_connection namespace
1016 with closing(create_connection(addr)) as sock:
/external/python/cpython3/Lib/
H A Dsocket.py27 create_connection() -- connects to an address, with an optional timeout and
63 __all__ = ["fromfd", "getfqdn", "create_connection",
688 def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, function
H A Dssl.py162 from socket import socket, AF_INET, SOCK_STREAM, create_connection namespace
1215 with create_connection(addr) as sock:
/external/python/cpython2/Lib/test/
H A Dtest_httplib.py952 def create_connection(address, timeout=None, source_address=None): function in function:TunnelTests.test_connect
956 conn._create_connection = create_connection
/external/python/cpython3/Lib/asyncio/
H A Dbase_events.py680 def create_connection(self, protocol_factory, host=None, port=None, *, member in class:BaseEventLoop
H A Devents.py302 def create_connection(self, protocol_factory, host=None, port=None, *, member in class:AbstractEventLoop

Completed in 561 milliseconds