Skip to content

Commit fcb3a4c

Browse files
committed
Remove backwards-compatibility from docs after 5 years.
1 parent 9223d7d commit fcb3a4c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/websockets/legacy/protocol.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -466,11 +466,6 @@ async def recv(self) -> Data:
466466
:exc:`~websockets.exceptions.ConnectionClosedError` after a protocol
467467
error or a network failure.
468468
469-
.. versionchanged:: 3.0
470-
471-
:meth:`recv` used to return ``None`` instead. Refer to the
472-
changelog for details.
473-
474469
Canceling :meth:`recv` is safe. There's no risk of losing the next
475470
message. The next invocation of :meth:`recv` will return it. This
476471
makes it possible to enforce a timeout by wrapping :meth:`recv` in

0 commit comments

Comments
 (0)