Show More
@@ -35,7 +35,7 b' b85encode(PyObject *self, PyObject *args' | |||
|
35 | 35 | unsigned int acc, val, ch; |
|
36 | 36 | int pad = 0; |
|
37 | 37 | |
|
38 |
if (!PyArg_ParseTuple(args, " |
|
|
38 | if (!PyArg_ParseTuple(args, "s#|i", &text, &len, &pad)) | |
|
39 | 39 | return NULL; |
|
40 | 40 | |
|
41 | 41 | if (pad) |
@@ -82,7 +82,7 b' b85decode(PyObject *self, PyObject *args' | |||
|
82 | 82 | int len, i, j, olen, c, cap; |
|
83 | 83 | unsigned int acc; |
|
84 | 84 | |
|
85 |
if (!PyArg_ParseTuple(args, " |
|
|
85 | if (!PyArg_ParseTuple(args, "s#", &text, &len)) | |
|
86 | 86 | return NULL; |
|
87 | 87 | |
|
88 | 88 | olen = len / 5 * 4; |
@@ -308,7 +308,7 b' static PyObject *bdiff(PyObject *self, P' | |||
|
308 | 308 | char encode[12], *rb; |
|
309 | 309 | int an, bn, len = 0, la, lb; |
|
310 | 310 | |
|
311 |
if (!PyArg_ParseTuple(args, " |
|
|
311 | if (!PyArg_ParseTuple(args, "s#s#:bdiff", &sa, &la, &sb, &lb)) | |
|
312 | 312 | return NULL; |
|
313 | 313 | |
|
314 | 314 | an = splitlines(sa, la, &al); |
General Comments 0
You need to be logged in to leave comments.
Login now