Skip to content

Commit

Permalink
Remove dead code from WebSocketResponse.receive (#9678)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdraco authored Nov 5, 2024
1 parent afb5ebb commit 7d2afcf
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions aiohttp/web_ws.py
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,6 @@ async def receive(self, timeout: Optional[float] = None) -> WSMessage:
if self._reader is None:
raise RuntimeError("Call .prepare() first")

loop = self._loop
assert loop is not None
receive_timeout = timeout or self._receive_timeout
while True:
if self._waiting:
Expand Down

0 comments on commit 7d2afcf

Please sign in to comment.