Skip to content

Commit 86eab08

Browse files
[3.11] gh-104882: Docs: fix description of relationship between socket.getblocking() and socket.gettimeout() (GH-105026) (#105284)
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 8de607a commit 86eab08

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
@@ -1428,7 +1428,7 @@ to sockets.
14281428
Return ``True`` if socket is in blocking mode, ``False`` if in
14291429
non-blocking.
14301430

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

14331433
.. versionadded:: 3.7
14341434

0 commit comments

Comments
 (0)