MCPcopy Create free account
hub / github.com/rthalley/dnspython / _make_socket

Function _make_socket

dns/query.py:400–410  ·  view source on GitHub ↗
(
    af,
    type,
    source,
    ssl_context,
    server_hostname,
)

Source from the content-addressed store, hash-verified

398
399# for backwards compatibility
400def _make_socket(
401 af,
402 type,
403 source,
404 ssl_context,
405 server_hostname,
406):
407 if ssl_context is not None:
408 return make_ssl_socket(af, type, ssl_context, server_hostname, source)
409 else:
410 return make_socket(af, type, source)
411
412
413def _maybe_get_resolver(

Callers

nothing calls this directly

Calls 2

make_ssl_socketFunction · 0.85
make_socketFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…