X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/blobdiff_plain/78911cdb6782ddccef6de3cc913b714e10d2fc14..741f7410ed5c67e4a2641925bd22eb71c85a39cf:/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)