Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
docs: Fixed typo in socket.getblocking() docs
- Change so that docs properly equate this with socket.gettimeout() != 0.
  • Loading branch information
joegeisbauer committed May 27, 2023
commit 4a9b7ad7da155fcaebc915a83acf4758e0ebedbb
2 changes: 1 addition & 1 deletion Doc/library/socket.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1526,7 +1526,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