equal
deleted
inserted
replaced
33 /* tolerate CRLF in last line */ |
33 /* tolerate CRLF in last line */ |
34 sz -= 1; |
34 sz -= 1; |
35 |
35 |
36 hline = PyBytes_FromStringAndSize(l, sz-1); |
36 hline = PyBytes_FromStringAndSize(l, sz-1); |
37 if (!hline) { |
37 if (!hline) { |
38 return NULL; |
38 return; |
39 } |
39 } |
40 |
40 |
41 if (c == ' ' || c == '+') { |
41 if (c == ' ' || c == '+') { |
42 PyObject *rline = PyBytes_FromStringAndSize(l + 1, sz - 2); |
42 PyObject *rline = PyBytes_FromStringAndSize(l + 1, sz - 2); |
43 PyList_SetItem(b, blen-1, rline); |
43 PyList_SetItem(b, blen-1, rline); |