]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] 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:35:50 +0000 (10:35 +0200)
committerGitHub <noreply@github.com>
Sat, 17 Aug 2024 08:35:50 +0000 (08:35 +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 8389d67860d453610d8263981ae33490645e265b..23397ad7beed7479475dd09336df036d46439bfc 100644 (file)
@@ -695,6 +695,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
 ^^^^^^^^^