We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb04a09 commit 7d9e9d7Copy full SHA for 7d9e9d7
Doc/library/socket.rst
@@ -826,8 +826,11 @@ The following functions all create :ref:`socket objects <socket-objects>`.
826
827
.. data:: SocketType
828
829
- This is a Python type object that represents the socket object type. It is the
830
- same as ``type(socket(...))``.
+ This is the base class for a type object of socket objects, and
+ ``isinstance(socket(...), SocketType)`` returns ``True``.
831
+
832
+ .. versionchanged:: 3.0
833
+ SocketType is now the base class for the socket object type.
834
835
836
Other functions
0 commit comments