Documentation
The documentation for socket.getblocking() states:
This is equivalent to checking socket.gettimeout() == 0.
But that's the opposite of what it means. According to the source code, getblocking() returns False if and only if gettimeout() returns 0.0.
Linked PRs
Reactions are currently unavailable
Documentation
The documentation for socket.getblocking() states:
But that's the opposite of what it means. According to the source code, getblocking() returns False if and only if gettimeout() returns 0.0.
Linked PRs