]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-122519: Adding socket module shutdown() constants description (GH-122543...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 17 Aug 2024 08:45:25 +0000 (10:45 +0200)
committerGitHub <noreply@github.com>
Sat, 17 Aug 2024 08:45:25 +0000 (08:45 +0000)
gh-122519: Adding socket module shutdown() constants description (GH-122543)
(cherry picked from commit 8a59deca59aa9452e71bb49e909199fbb41a5de7)

Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
Doc/library/socket.rst

index 185d02d2ef0e14171be1058bd2628195b178d599..18e9b69d70e3723dc44aa26262089aa541471189 100644 (file)
@@ -700,6 +700,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
 ^^^^^^^^^