Skip to content

Commit 69dff14

Browse files
Drop list compression (aio-libs#12857)
1 parent 93a2b1c commit 69dff14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

aiohttp/streams.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -549,7 +549,7 @@ def _read_nowait(self, n: int) -> bytes:
549549
count = len(self._buffer)
550550
if count == 1:
551551
return self._read_nowait_chunk(-1)
552-
return b"".join([self._read_nowait_chunk(-1) for _ in range(count)])
552+
return b"".join(self._read_nowait_chunk(-1) for _ in range(count))
553553

554554
chunks: list[bytes] = []
555555
while self._buffer:

0 commit comments

Comments
 (0)