mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Close #12171: IncrementalEncoder.reset() of CJK codecs (multibytecodec) calls
encreset() instead of decreset().
This commit is contained in:
parent
ebbb3b7972
commit
e15dce3d18
4 changed files with 23 additions and 8 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue