From: Mark Wooding Date: Tue, 21 Mar 2006 00:37:25 +0000 (+0000) Subject: codec: Use the correct variable name in the decoder convenience function! X-Git-Tag: 1.0.1~15 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib-python/commitdiff_plain/f3946a80c491dd87854ea48d7be05fb0a35d8459 codec: Use the correct variable name in the decoder convenience function! --- diff --git a/codec.pyx.in b/codec.pyx.in index ebbb38e..ad60269 100644 --- a/codec.pyx.in +++ b/codec.pyx.in @@ -117,7 +117,7 @@ cdef class %CLASS%Decode: def %PREFIX%_decode(text, *arg, **kw): d = %CLASS%Decode(*arg, **kw) - return e.decode(text) + d.done() + return d.decode(text) + d.done() #----- That's all, folks ----------------------------------------------------