[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 5a5ed7a3e6)

Co-authored-by: Joe Geisbauer <joegeisbauer@gmail.com>
This commit is contained in:
Miss Islington (bot) 2023-06-04 09:09:13 -07:00 committed by GitHub
parent 8de607ab1c
commit 86eab0807f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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