class documentation

class _LikeGetAddrInfo(Protocol): (source)

View In Hierarchy

A callable matching the type signature of getaddrinfo.

Method __call__ Undocumented
def __call__(self, host: bytes | str | None, port: bytes | str | int | None, family: int = AF_UNSPEC, type: int = 0, proto: int = 0, flags: int = 0) -> list[tuple[AddressFamily, SocketKind, int, str, tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]]]: (source) ΒΆ

Undocumented