https://github.com/python/cpython/commit/28f37700bcb3abcfd6e253eed5af68d0535d655d
commit: 28f37700bcb3abcfd6e253eed5af68d0535d655d
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2024-08-17T08:35:50Z
summary:

[3.12] gh-122519: Adding socket module shutdown() constants description 
(GH-122543) (#123094)

gh-122519: Adding socket module shutdown() constants description (GH-122543)
(cherry picked from commit 8a59deca59aa9452e71bb49e909199fbb41a5de7)

Co-authored-by: Damien <[email protected]>

files:
M Doc/library/socket.rst

diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index 8389d67860d453..23397ad7beed74 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -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
 ^^^^^^^^^

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to