]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-104882: Docs: fix description of relationship between `socket.getblocking()` and...
authorJoe Geisbauer <joegeisbauer@gmail.com>
Sun, 4 Jun 2023 15:59:16 +0000 (10:59 -0500)
committerGitHub <noreply@github.com>
Sun, 4 Jun 2023 15:59:16 +0000 (16:59 +0100)
Doc/library/socket.rst

index 21453b404782310204e2739838e5412f8fd4d6ff..5f795af42b812e1504383440d2a0f1726b762732 100644 (file)
@@ -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