summaryrefslogtreecommitdiffstats
path: root/Doc/library/socket.rst
diff options
context:
space:
mode:
authorJoe Geisbauer <joegeisbauer@gmail.com>2023-06-04 15:59:16 (GMT)
committerGitHub <noreply@github.com>2023-06-04 15:59:16 (GMT)
commit5a5ed7a3e616a372f054a1dd2e9a31ba32a87a67 (patch)
tree1adbdf730dca74e443e87df9b3264bfd7a2d5c9f /Doc/library/socket.rst
parent9a90c9ace2ed878715107bf4ae39e5967d7c931f (diff)
downloadcpython-5a5ed7a3e616a372f054a1dd2e9a31ba32a87a67.zip
cpython-5a5ed7a3e616a372f054a1dd2e9a31ba32a87a67.tar.gz
cpython-5a5ed7a3e616a372f054a1dd2e9a31ba32a87a67.tar.bz2
gh-104882: Docs: fix description of relationship between `socket.getblocking()` and `socket.gettimeout()` (#105026)
Diffstat (limited to 'Doc/library/socket.rst')
-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 21453b4..5f795af 100644
--- a/Doc/library/socket.rst
+++ b/Doc/library/socket.rst
@@ -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