Skip to content

Commit

Permalink
[3.12] gh-104882: Docs: fix description of relationship between `sock…
Browse files Browse the repository at this point in the history
…et.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 <joegeisbauer@gmail.com>
  • Loading branch information
miss-islington and joegeisbauer authored Jun 4, 2023
1 parent 6b61fe9 commit 9ce3312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1527,7 +1527,7 @@ to sockets.
Return ``True`` if socket is in blocking mode, ``False`` if in
non-blocking.

This is equivalent to checking ``socket.gettimeout() == 0``.
This is equivalent to checking ``socket.gettimeout() != 0``.

.. versionadded:: 3.7

Expand Down

0 comments on commit 9ce3312

Please sign in to comment.