Skip to content

Commit 07ad8d0

Browse files
committed
pep7
1 parent a9e6d3e commit 07ad8d0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Modules/_csv.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,8 +1350,12 @@ csv_writerow(PyObject *op, PyObject *seq)
13501350
PyUnicodeWriter_Discard(writer);
13511351
return NULL;
13521352
}
1353-
if (PyUnicodeWriter_WriteChar(writer, dialect->quotechar) < 0) goto error_after_iter;
1354-
if (PyUnicodeWriter_WriteChar(writer, dialect->quotechar) < 0) goto error_after_iter;
1353+
if (PyUnicodeWriter_WriteChar(writer, dialect->quotechar) < 0) {
1354+
goto error_after_iter;
1355+
}
1356+
if (PyUnicodeWriter_WriteChar(writer, dialect->quotechar) < 0) {
1357+
goto error_after_iter;
1358+
}
13551359
}
13561360

13571361
if (PyUnicodeWriter_WriteStr(writer, self->dialect->lineterminator) < 0) {

0 commit comments

Comments
 (0)