Link to PEP 383.

This commit is contained in:
Martin v. Löwis 2009-06-29 06:35:26 +00:00
parent 0a3faef5f2
commit 3d2eca0eda
1 changed files with 2 additions and 1 deletions

View File

@ -322,7 +322,8 @@ and implemented by all standard Python codecs:
| ``'backslashreplace'`` | Replace with backslashed escape sequences |
| | (only for encoding). |
+-------------------------+-----------------------------------------------+
| ``'surrogateescape'`` | Replace byte with surrogate U+DCxx. |
| ``'surrogateescape'`` | Replace byte with surrogate U+DCxx, as defined|
| | in :pep:`383`. |
+-------------------------+-----------------------------------------------+
In addition, the following error handlers are specific to a single codec: