chiark / gitweb /
codec: Use the correct variable name in the decoder convenience function!
authorMark Wooding <mdw@distorted.org.uk>
Tue, 21 Mar 2006 00:37:25 +0000 (00:37 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 21 Mar 2006 00:37:25 +0000 (00:37 +0000)
codec.pyx.in

index ebbb38e..ad60269 100644 (file)
@@ -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 ----------------------------------------------------