summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/socket.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index b1e35e6..253a120 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -704,6 +704,13 @@ Constants
.. versionadded:: 3.12
+.. data:: SHUT_RD
+ SHUT_WR
+ SHUT_RDWR
+
+ These constants are used by the :meth:`~socket.socket.shutdown` method of socket objects.
+
+ .. availability:: not WASI.
Functions
^^^^^^^^^