]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-122519: Adding socket module shutdown() constants description (#122543)
authorDamien <81557462+Damien-Chen@users.noreply.github.com>
Sat, 17 Aug 2024 08:29:23 +0000 (16:29 +0800)
committerGitHub <noreply@github.com>
Sat, 17 Aug 2024 08:29:23 +0000 (13:59 +0530)
Doc/library/socket.rst

index b1e35e68b132e24c7f0b32a1d268b740ef39f0d9..253a120e5c0f517ddd163c50f4933d893438d3ba 100644 (file)
@@ -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
 ^^^^^^^^^