Skip to content

Commit 6324b64

Browse files
authored
Update socket.rst
1 parent 120e8fc commit 6324b64

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Doc/library/socket.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1512,8 +1512,9 @@ to sockets.
15121512
.. note::
15131513

15141514
:meth:`close` releases the resource associated with a connection
1515-
but does not necessarily close the connection immediately. If you want to close the connection in a timely fashion, call :meth:`shutdown` before :meth:`close`, or use this function with the shutdown parameter like this
1516-
``socket.close(shutdown=True)``
1515+
but does not necessarily close the connection immediately. If you want to close the connection in a
1516+
timely fashion, call :meth:`shutdown` before :meth:`close`, or
1517+
use this function with the shutdown parameter like this ``socket.close(shutdown=True)``
15171518

15181519

15191520
.. method:: socket.connect(address)

0 commit comments

Comments
 (0)