gh-104882: Docs: fix description of relationship between socket.getblocking() and socket.gettimeout() (#105026)

This commit is contained in:
Joe Geisbauer 2023-06-04 10:59:16 -05:00 committed by GitHub
parent 9a90c9ace2
commit 5a5ed7a3e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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