You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've checked the main, 3.10 and 3.11 branches, and this is only apparent in the 3.10 documentation. The main and 3.11 branches have older lines here and use the module-level constants. I wouldn't know where to direct a PR, sorry.
The text was updated successfully, but these errors were encountered:
Actually, displaying the module name (socket.SOCK_STREAM) instead of the enumeration name (SocketKind.SOCK_STREAM) seem to be the newly (3.11?) expected behavior, see #84247 and #22392.
Docs have been updated in b775106.
Documentation
The socket.getaddrinfo example in the Py3.10 docs is given as the following:
This should have
SocketKind
instead of the secondAddressFamily
:I've checked the main, 3.10 and 3.11 branches, and this is only apparent in the 3.10 documentation. The main and 3.11 branches have older lines here and use the module-level constants. I wouldn't know where to direct a PR, sorry.
The text was updated successfully, but these errors were encountered: