Skip to content

Commit 88a3d96

Browse files
authored
Update socket.rst
1 parent 6324b64 commit 88a3d96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/socket.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1492,7 +1492,7 @@ to sockets.
14921492
operations on the socket object will fail. The remote end will receive no more data
14931493
(after queued data is flushed).
14941494

1495-
If the `shutdown` parameter is set to ``True``, the socket will first be
1495+
If the ``shutdown`` parameter is set to ``True``, the socket will first be
14961496
shut down before closing, ensuring that no further data can be sent or received.
14971497
This is useful for properly releasing resources and preventing issues like lingering
14981498
connections or reset by peer (RST) errors in some network conditions. If the parameter is
@@ -1503,7 +1503,7 @@ to sockets.
15031503
:keyword:`with` statement around them.
15041504

15051505
.. versionadded:: 3.14
1506-
Added an optional `shutdown` parameter to allow explicit socket shutdown before closing.
1506+
Added an optional ``shutdown`` parameter to allow explicit socket shutdown before closing.
15071507

15081508
.. versionchanged:: 3.6
15091509
:exc:`OSError` is now raised if an error occurs when the underlying

0 commit comments

Comments
 (0)