File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1470,13 +1470,13 @@ to :class:`bytes` mappings. They are not supported by :meth:`bytes.decode`
14701470| | | gzip. | :meth: `zlib.decompress ` |
14711471+----------------------+------------------+------------------------------+------------------------------+
14721472
1473- .. function :: codecs.escape_encode(input, errors='strict' )
1473+ .. function :: codecs.escape_encode(input, errors=None )
14741474
14751475 Encode *input * using escape sequences. Similar to how :func: `repr ` on bytes
14761476 produces escaped byte values. Returns a tuple of the encoded bytes and
14771477 the length consumed.
14781478
1479- .. function :: codecs.escape_decode(input, errors='strict' )
1479+ .. function :: codecs.escape_decode(input, errors=None )
14801480
14811481 Decode *input * from escape sequences back to the original bytes.
14821482 Returns a tuple of the decoded bytes and the length consumed.
You can’t perform that action at this time.
0 commit comments