summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-06-04 16:09:13 (GMT)
committerGitHub <noreply@github.com>2023-06-04 16:09:13 (GMT)
commit86eab0807f359dcf8317ef00bbe09f9e91ee0553 (patch)
treed6e3297baad13bf8c9338269fe9298f83fd13a40
parent8de607ab1c7605dce0efbb1a5c7148385d9176a6 (diff)
downloadcpython-86eab0807f359dcf8317ef00bbe09f9e91ee0553.zip
cpython-86eab0807f359dcf8317ef00bbe09f9e91ee0553.tar.gz
cpython-86eab0807f359dcf8317ef00bbe09f9e91ee0553.tar.bz2
[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 5a5ed7a3e616a372f054a1dd2e9a31ba32a87a67) Co-authored-by: Joe Geisbauer <joegeisbauer@gmail.com>
-rw-r--r--Doc/library/socket.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/socket.rst b/Doc/library/socket.rst
index ab38b1d..19b4a1e 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -1428,7 +1428,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