summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien <81557462+Damien-Chen@users.noreply.github.com>2024-08-17 08:29:23 (GMT)
committerGitHub <noreply@github.com>2024-08-17 08:29:23 (GMT)
commit8a59deca59aa9452e71bb49e909199fbb41a5de7 (patch)
tree9735e5127bb87b89973ac85caff3b0846937a778
parent19be0ee9316f9f0d0cae63d3cdd384f44f9a2fce (diff)
downloadcpython-8a59deca59aa9452e71bb49e909199fbb41a5de7.zip
cpython-8a59deca59aa9452e71bb49e909199fbb41a5de7.tar.gz
cpython-8a59deca59aa9452e71bb49e909199fbb41a5de7.tar.bz2
gh-122519: Adding socket module shutdown() constants description (#122543)
-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
^^^^^^^^^