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 a9e6d3e commit 07ad8d0Copy full SHA for 07ad8d0
Modules/_csv.c
@@ -1350,8 +1350,12 @@ csv_writerow(PyObject *op, PyObject *seq)
1350
PyUnicodeWriter_Discard(writer);
1351
return NULL;
1352
}
1353
- if (PyUnicodeWriter_WriteChar(writer, dialect->quotechar) < 0) goto error_after_iter;
1354
+ if (PyUnicodeWriter_WriteChar(writer, dialect->quotechar) < 0) {
+ goto error_after_iter;
1355
+ }
1356
1357
1358
1359
1360
1361
if (PyUnicodeWriter_WriteStr(writer, self->dialect->lineterminator) < 0) {
0 commit comments