Skip to content

Commit

Permalink
pythongh-104882: Docs: fix description of relationship between `socke…
Browse files Browse the repository at this point in the history
…t.getblocking()` and `socket.gettimeout()` (python#105026)
  • Loading branch information
joegeisbauer authored Jun 4, 2023
1 parent 9a90c9a commit 5a5ed7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5a5ed7a

Please sign in to comment.