Close #12171: IncrementalEncoder.reset() of CJK codecs (multibytecodec) calls

encreset() instead of decreset().
This commit is contained in:
Victor Stinner 2011-05-30 22:56:00 +02:00
parent ebbb3b7972
commit e15dce3d18
4 changed files with 23 additions and 8 deletions

View file

@ -458,7 +458,8 @@ define in order to be compatible with the Python codec registry.
.. method:: reset()
Reset the encoder to the initial state.
Reset the encoder to the initial state. The output is discarded: call
``.encode('', final=True)`` to reset the encoder and to get the output.
.. method:: IncrementalEncoder.getstate()