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

Method getaddrinfo_task

Lib/test/test_asyncio/test_events.py:924–925  ·  view source on GitHub ↗
(*args, **kwds)

Source from the content-addressed store, hash-verified

922 return [(family, socket.SOCK_STREAM, 6, '', (host, port, 0, 0))]
923
924 def getaddrinfo_task(*args, **kwds):
925 return self.loop.create_task(getaddrinfo(*args, **kwds))
926
927 unique_hosts = set(hosts)
928

Callers

nothing calls this directly

Calls 2

getaddrinfoFunction · 0.50
create_taskMethod · 0.45

Tested by

no test coverage detected