def METHOD_NAME(
    self, family: int = AF_INET, type: int = SOCK_STREAM
) -> socketpool.Socket:
    """Create a new socket
    :param ~int family: AF_INET or AF_INET6
    :param ~int type: SOCK_STREAM, SOCK_DGRAM or SOCK_RAW
    The ``proto`` (protocol) and ``fileno`` arguments available in ``socket.socket()``
    in CPython are not supported.
    """
    ...