MCPcopy Index your code
hub / github.com/python/cpython / _have_socket_vsock

Function _have_socket_vsock

Lib/test/test_socket.py:167–170  ·  view source on GitHub ↗

Check whether AF_VSOCK sockets are supported on this host.

()

Source from the content-addressed store, hash-verified

165 return True
166
167def _have_socket_vsock():
168 """Check whether AF_VSOCK sockets are supported on this host."""
169 cid = get_cid()
170 return (cid is not None)
171
172
173def _have_socket_bluetooth():

Callers 1

test_socket.pyFile · 0.85

Calls 1

get_cidFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…