Skip to content

Commit 60a3ae6

Browse files
romualdpicnixz
andauthored
Review changes Modules/binascii.c
Apply suggestions Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 74fc245 commit 60a3ae6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Modules/binascii.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1299,9 +1299,11 @@ binascii_b2a_base85_impl(PyObject *module, Py_buffer *data, Py_buffer *chars,
12991299

13001300
if (foldnuls && value == 0) {
13011301
*ascii_data++ = 'z';
1302-
} else if (foldspaces && value == 0x20202020) {
1302+
}
1303+
else if (foldspaces && value == 0x20202020) {
13031304
*ascii_data++ = 'y';
1304-
} else {
1305+
}
1306+
else {
13051307
for (j = 0; j < 5 ; j++) {
13061308
ascii_data[4 - j] = table[value % 85];
13071309
value /= 85;

0 commit comments

Comments
 (0)