Skip to content

Commit 181e0ca

Browse files
joegeisbauermiss-islington
authored andcommitted
pythongh-104882: Docs: fix description of relationship between socket.getblocking() and socket.gettimeout() (pythonGH-105026)
(cherry picked from commit 5a5ed7a) Co-authored-by: Joe Geisbauer <joegeisbauer@gmail.com>
1 parent 6b61fe9 commit 181e0ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/socket.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1527,7 +1527,7 @@ to sockets.
15271527
Return ``True`` if socket is in blocking mode, ``False`` if in
15281528
non-blocking.
15291529

1530-
This is equivalent to checking ``socket.gettimeout() == 0``.
1530+
This is equivalent to checking ``socket.gettimeout() != 0``.
15311531

15321532
.. versionadded:: 3.7
15331533

0 commit comments

Comments
 (0)