Show More
@@ -35,7 +35,7 b' b85encode(PyObject *self, PyObject *args' | |||||
35 | unsigned int acc, val, ch; |
|
35 | unsigned int acc, val, ch; | |
36 | int pad = 0; |
|
36 | int pad = 0; | |
37 |
|
37 | |||
38 |
if (!PyArg_ParseTuple(args, " |
|
38 | if (!PyArg_ParseTuple(args, "t#|i", &text, &len, &pad)) | |
39 | return NULL; |
|
39 | return NULL; | |
40 |
|
40 | |||
41 | if (pad) |
|
41 | if (pad) | |
@@ -82,7 +82,7 b' b85decode(PyObject *self, PyObject *args' | |||||
82 | int len, i, j, olen, c, cap; |
|
82 | int len, i, j, olen, c, cap; | |
83 | unsigned int acc; |
|
83 | unsigned int acc; | |
84 |
|
84 | |||
85 |
if (!PyArg_ParseTuple(args, " |
|
85 | if (!PyArg_ParseTuple(args, "t#", &text, &len)) | |
86 | return NULL; |
|
86 | return NULL; | |
87 |
|
87 | |||
88 | olen = len / 5 * 4; |
|
88 | olen = len / 5 * 4; |
General Comments 0
You need to be logged in to leave comments.
Login now