diff --git a/httpcore/_utils.py b/httpcore/_utils.py index c44ff93c..ac64422b 100644 --- a/httpcore/_utils.py +++ b/httpcore/_utils.py @@ -7,7 +7,7 @@ def is_socket_readable(sock: socket.socket | None) -> bool: """ - Return whether a socket, as identifed by its file descriptor, is readable. + Return whether a socket, as identified by its file descriptor, is readable. "A socket is readable" means that the read buffer isn't empty, i.e. that calling .recv() on it would immediately return some data. """