Skip to content

Commit 8bdd87f

Browse files
Damien-Chenpull[bot]
authored andcommitted
gh-122519: Adding socket module shutdown() constants description (#122543)
1 parent 27f6da1 commit 8bdd87f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/library/socket.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,13 @@ Constants
704704

705705
.. versionadded:: 3.12
706706

707+
.. data:: SHUT_RD
708+
SHUT_WR
709+
SHUT_RDWR
710+
711+
These constants are used by the :meth:`~socket.socket.shutdown` method of socket objects.
712+
713+
.. availability:: not WASI.
707714

708715
Functions
709716
^^^^^^^^^

0 commit comments

Comments
 (0)