mirror of
https://github.com/python/cpython.git
synced 2025-09-28 03:13:48 +00:00
[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 8a59deca59
)
Co-authored-by: Damien <81557462+Damien-Chen@users.noreply.github.com>
This commit is contained in:
parent
41090b7ba0
commit
28f37700bc
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
^^^^^^^^^
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue