Skip to content

Commit 34619df

Browse files
committed
Fix SocketType documentation in socket.rst
1 parent f37f57d commit 34619df

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Doc/library/socket.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,8 +1024,11 @@ The following functions all create :ref:`socket objects <socket-objects>`.
10241024

10251025
.. data:: SocketType
10261026

1027-
This is a Python type object that represents the socket object type. It is the
1028-
same as ``type(socket(...))``.
1027+
This is a Python type object that is the base class for all socket objects.
1028+
1029+
.. versionchanged:: 3.0
1030+
This became the base class for socket objects. Previously, this was
1031+
the exact type of socket objects, the same as ``type(socket(...))``.
10291032

10301033

10311034
Other functions

0 commit comments

Comments
 (0)