We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9223d7d commit fcb3a4cCopy full SHA for fcb3a4c
src/websockets/legacy/protocol.py
@@ -466,11 +466,6 @@ async def recv(self) -> Data:
466
:exc:`~websockets.exceptions.ConnectionClosedError` after a protocol
467
error or a network failure.
468
469
- .. versionchanged:: 3.0
470
-
471
- :meth:`recv` used to return ``None`` instead. Refer to the
472
- changelog for details.
473
474
Canceling :meth:`recv` is safe. There's no risk of losing the next
475
message. The next invocation of :meth:`recv` will return it. This
476
makes it possible to enforce a timeout by wrapping :meth:`recv` in
0 commit comments