mirror of
https://github.com/python/cpython.git
synced 2026-01-27 13:15:25 +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 5a5ed7a3e616a372f054a1dd2e9a31ba32a87a67) Co-authored-by: Joe Geisbauer <joegeisbauer@gmail.com>
This commit is contained in:
parent
8de607ab1c
commit
86eab0807f
@ -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…
x
Reference in New Issue
Block a user