gh-122519: Adding socket module shutdown() constants description (#122543)

This commit is contained in:
Damien 2024-08-17 16:29:23 +08:00 committed by GitHub
parent 19be0ee931
commit 8a59deca59
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View 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
^^^^^^^^^