...
This commit is contained in:
parent
b52275e0b5
commit
8b54d19326
1 changed files with 1 additions and 1 deletions
|
|
@ -111,7 +111,7 @@ typedef struct StreamingBase64Decoder {
|
|||
} StreamingBase64Decoder;
|
||||
|
||||
static int
|
||||
StreamingBase64Decoder_init(PyObject *s, PyObject *args UNUSED, PyObject *kwds UNUSED) {
|
||||
StreamingBase64Decoder_init(PyObject *s, PyObject *args, PyObject *kwds UNUSED) {
|
||||
if (PyTuple_GET_SIZE(args)) { PyErr_SetString(PyExc_TypeError, "constructor takes no arguments"); return -1; }
|
||||
StreamingBase64Decoder *self = (StreamingBase64Decoder*)s;
|
||||
base64_stream_decode_init(&self->state, 0);
|
||||
|
|
|
|||
Loading…
Reference in a new issue