Skip to content

Commit 2620c15

Browse files
[3.13] gh-122519: Adding socket module shutdown() constants description (GH-122543) (#123093)
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 3ab8eaf commit 2620c15

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
@@ -700,6 +700,13 @@ Constants
700700

701701
.. versionadded:: 3.12
702702

703+
.. data:: SHUT_RD
704+
SHUT_WR
705+
SHUT_RDWR
706+
707+
These constants are used by the :meth:`~socket.socket.shutdown` method of socket objects.
708+
709+
.. availability:: not WASI.
703710

704711
Functions
705712
^^^^^^^^^

0 commit comments

Comments
 (0)