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 d2fcc74 commit 5093f92Copy full SHA for 5093f92
Lib/base64.py
@@ -509,7 +509,7 @@ def b85decode(b):
509
def encode(input, output):
510
"""Encode a file; input and output are binary files."""
511
while s := input.read(MAXBINSIZE):
512
- while len(s) < MAXBINSIZE and ns := input.read(MAXBINSIZE-len(s)):
+ while len(s) < MAXBINSIZE and (ns := input.read(MAXBINSIZE-len(s))):
513
s += ns
514
line = binascii.b2a_base64(s)
515
output.write(line)
0 commit comments