Skip to content

Commit 5093f92

Browse files
committed
Add missing parens
1 parent d2fcc74 commit 5093f92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/base64.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,7 +509,7 @@ def b85decode(b):
509509
def encode(input, output):
510510
"""Encode a file; input and output are binary files."""
511511
while s := input.read(MAXBINSIZE):
512-
while len(s) < MAXBINSIZE and ns := input.read(MAXBINSIZE-len(s)):
512+
while len(s) < MAXBINSIZE and (ns := input.read(MAXBINSIZE-len(s))):
513513
s += ns
514514
line = binascii.b2a_base64(s)
515515
output.write(line)

0 commit comments

Comments
 (0)