Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dd3e6cb

Browse files
committed
Fix to use PEP7 brace style.
1 parent 1196cf1 commit dd3e6cb

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

Modules/_csv.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ _set_str(const char *name, PyObject **target, PyObject *src, const char *dflt)
238238
PyErr_Format(PyExc_TypeError,
239239
"\"%s\" must be an string", name);
240240
return -1;
241-
} else {
241+
}
242+
else {
242243
Py_XDECREF(*target);
243244
Py_INCREF(src);
244245
*target = src;
@@ -1025,7 +1026,8 @@ join_append_data(WriterObj *self, char *field, int quote_empty,
10251026
PyErr_Format(error_obj,
10261027
"single empty field record must be quoted");
10271028
return -1;
1028-
} else
1029+
}
1030+
else
10291031
*quoted = 1;
10301032
}
10311033

0 commit comments

Comments
 (0)