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 @@ -1452,13 +1452,13 @@ to :class:`bytes` mappings. They are not supported by :meth:`bytes.decode`
1452
1452
| | | gzip. | :meth: `zlib.decompress ` |
1453
1453
+----------------------+------------------+------------------------------+------------------------------+
1454
1454
1455
- .. function :: codecs.escape_encode(input, errors='strict' )
1455
+ .. function :: codecs.escape_encode(input, errors=None )
1456
1456
1457
1457
Encode *input * using escape sequences. Similar to how :func: `repr ` on bytes
1458
1458
produces escaped byte values. Returns a tuple of the encoded bytes and
1459
1459
the length consumed.
1460
1460
1461
- .. function :: codecs.escape_decode(input, errors='strict' )
1461
+ .. function :: codecs.escape_decode(input, errors=None )
1462
1462
1463
1463
Decode *input * from escape sequences back to the original bytes.
1464
1464
Returns a tuple of the decoded bytes and the length consumed.
You can’t perform that action at this time.
0 commit comments