X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/blobdiff_plain/78911cdb6782ddccef6de3cc913b714e10d2fc14..7c66d8c9ef1bf4cd701c6eb3da64d2b861cd6f6c:/codec.pyx diff --git a/codec.pyx b/codec.pyx index aa5e692..b9f910f 100644 --- a/codec.pyx +++ b/codec.pyx @@ -115,7 +115,7 @@ cdef class _BaseCodec: raise ValueError, 'Encoding finished' DCREATE(&d) try: - PyObject_AsReadBuffer(text, &p, &len) + PyObject_AsReadBuffer(text, &p, &len) code(me.c, p, len, &d) if finishp: code(me.c, NULL, 0, &d)