This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author srittau
Recipients docs@python, srittau
Date 2021-05-28.15:21:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622215302.61.0.335159257194.issue44261@roundup.psfhosted.org>
In-reply-to
Content
The documentation of socket.SocketType (https://docs.python.org/3/library/socket.html?highlight=sockettype#socket.SocketType) is misleading. It states:

    This is a Python type object that represents the socket object type. It is the same as type(socket(...)).

This is untrue. socket.SocketType is in reality re-exported from _socket, where it is an alias for class _socket.socket, a super type of class socket.socket. I think that either the documentation should be fixed, or SocketType should be moved to socket and made an alias of socket.socket.
History
Date User Action Args
2021-05-28 15:21:42srittausetrecipients: + srittau, docs@python
2021-05-28 15:21:42srittausetmessageid: <1622215302.61.0.335159257194.issue44261@roundup.psfhosted.org>
2021-05-28 15:21:42srittaulinkissue44261 messages
2021-05-28 15:21:42srittaucreate