Commit 7fa4bfa1 authored by Jeremy Hylton's avatar Jeremy Hylton

Fix indentation.

parent af4c12f4
...@@ -378,12 +378,12 @@ write_file(Picklerobject *self, char *s, int n) ...@@ -378,12 +378,12 @@ write_file(Picklerobject *self, char *s, int n)
} }
Py_BEGIN_ALLOW_THREADS Py_BEGIN_ALLOW_THREADS
nbyteswritten = fwrite(s, sizeof(char), n, self->fp); nbyteswritten = fwrite(s, sizeof(char), n, self->fp);
Py_END_ALLOW_THREADS Py_END_ALLOW_THREADS
if (nbyteswritten != (size_t)n) { if (nbyteswritten != (size_t)n) {
PyErr_SetFromErrno(PyExc_IOError); PyErr_SetFromErrno(PyExc_IOError);
return -1; return -1;
} }
return n; return n;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment