Replace a confusing error message with one that actually explains what the error is in `_overlapped.BindLocal()`.
Fixes: https://github.com/python/cpython/issues/144493
--- /dev/null
+Improve an exception error message in ``_overlapped.BindLocal()`` that is raised when :meth:`asyncio.loop.sock_connect` is called on a :class:`asyncio.ProactorEventLoop` with a socket that has an invalid address family.
ret = bind((SOCKET)Socket, (SOCKADDR*)&addr, sizeof(addr))
!= SOCKET_ERROR;
} else {
- PyErr_SetString(PyExc_ValueError, "expected tuple of length 2 or 4");
+ PyErr_SetString(PyExc_ValueError, "Only AF_INET and AF_INET6 families are supported");
return NULL;
}