Skip to content

Commit 9ce3312

Browse files
[3.12] gh-104882: Docs: fix description of relationship between socket.getblocking() and socket.gettimeout() (GH-105026) (#105283)
gh-104882: Docs: fix description of relationship between `socket.getblocking()` and `socket.gettimeout()` (GH-105026) (cherry picked from commit 5a5ed7a) Co-authored-by: Joe Geisbauer <[email protected]>
1 parent 6b61fe9 commit 9ce3312

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/socket.rst

+1-1
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)