mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
[3.12] gh-104882: Docs: fix description of relationship between socket.getblocking() and socket.gettimeout() (GH-105026) (#105283)
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
6b61fe9097
commit
9ce3312cdb
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue