Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -910,8 +910,12 @@ The following functions all create :ref:`socket objects <socket-objects>`.

.. data:: SocketType

This is a Python type object that represents the socket object type. It is the
same as ``type(socket(...))``.
This is the base class for a type object of socket objects, such that
``isinstance(socket(...), SocketType)`` is ``True``.

.. versionchanged:: 3.0
SocketType is the base class for the socket object type rather than
being ``type(socket(...))``` directly.


Other functions
Expand Down
Loading