Skip to content

Commit 28f3770

Browse files
[3.12] gh-122519: Adding socket module shutdown() constants description (GH-122543) (#123094)
gh-122519: Adding socket module shutdown() constants description (GH-122543) (cherry picked from commit 8a59dec) Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
1 parent 41090b7 commit 28f3770

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
@@ -695,6 +695,13 @@ Constants
695695

696696
.. versionadded:: 3.12
697697

698+
.. data:: SHUT_RD
699+
SHUT_WR
700+
SHUT_RDWR
701+
702+
These constants are used by the :meth:`~socket.socket.shutdown` method of socket objects.
703+
704+
.. availability:: not WASI.
698705

699706
Functions
700707
^^^^^^^^^

0 commit comments

Comments
 (0)