mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
[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:
parent
8de607ab1c
commit
86eab0807f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue