Skip to content

Commit 869a31b

Browse files
committed
Remove unneecssary variable
1 parent 6c010f2 commit 869a31b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Lib/_pyio.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1688,7 +1688,6 @@ def readall(self):
16881688
bufsize += addend
16891689
result[bytes_read:bufsize] = b'\0'
16901690
assert bufsize - bytes_read > 0, "Should always try and read at least one byte"
1691-
n = bufsize - len(result)
16921691
try:
16931692
n = os.readinto(self._fd, memoryview(result)[bytes_read:])
16941693
except BlockingIOError:

0 commit comments

Comments
 (0)