Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8a59dec

Browse files
authored
gh-122519: Adding socket module shutdown() constants description (#122543)
1 parent 19be0ee commit 8a59dec

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)