Docs: Fix typo in socketserver documentation (#140956)

This commit is contained in:
Thomas Ballard 2025-11-17 06:47:28 -05:00 committed by GitHub
parent d527d3bf8b
commit 20b64bdf23
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -546,7 +546,7 @@ The difference is that the ``readline()`` call in the second handler will call
first handler had to use a ``recv()`` loop to accumulate data until a
newline itself. If it had just used a single ``recv()`` without the loop it
would just have returned what has been received so far from the client.
TCP is stream based: data arrives in the order it was sent, but there no
TCP is stream based: data arrives in the order it was sent, but there is no
correlation between client ``send()`` or ``sendall()`` calls and the number
of ``recv()`` calls on the server required to receive it.