mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
Add some versionadded info to new incremental codec docs and fix doco nits.
This commit is contained in:
parent
922ff4a321
commit
6bed1c1fab
2 changed files with 8 additions and 2 deletions
|
@ -156,13 +156,13 @@ class Codec:
|
|||
|
||||
class IncrementalEncoder(object):
|
||||
"""
|
||||
A IncrementalEncoder encodes an input in multiple steps. The input can be
|
||||
An IncrementalEncoder encodes an input in multiple steps. The input can be
|
||||
passed piece by piece to the encode() method. The IncrementalEncoder remembers
|
||||
the state of the Encoding process between calls to encode().
|
||||
"""
|
||||
def __init__(self, errors='strict'):
|
||||
"""
|
||||
Creates a IncrementalEncoder instance.
|
||||
Creates an IncrementalEncoder instance.
|
||||
|
||||
The IncrementalEncoder may use different error handling schemes by
|
||||
providing the errors keyword argument. See the module docstring
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue