summaryrefslogtreecommitdiffstats
path: root/Doc/library/codecs.rst
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2009-05-10 08:15:24 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2009-05-10 08:15:24 (GMT)
commit43c57785d3319249c03c3fa46c9df42a8ccd3e52 (patch)
tree199d57826897ac525b4057253a82aaaefcb6ef82 /Doc/library/codecs.rst
parente0a2b72e61a474dceb948be57cb2983f70ab07fb (diff)
downloadcpython-43c57785d3319249c03c3fa46c9df42a8ccd3e52.zip
cpython-43c57785d3319249c03c3fa46c9df42a8ccd3e52.tar.gz
cpython-43c57785d3319249c03c3fa46c9df42a8ccd3e52.tar.bz2
Rename utf8b error handler to surrogateescape.
Diffstat (limited to 'Doc/library/codecs.rst')
-rw-r--r--Doc/library/codecs.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index b7bd125..e3f98ef 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -322,7 +322,7 @@ and implemented by all standard Python codecs:
| ``'backslashreplace'`` | Replace with backslashed escape sequences |
| | (only for encoding). |
+-------------------------+-----------------------------------------------+
-| ``'utf8b'`` | Replace byte with surrogate U+DCxx. |
+| ``'surrogateescape'`` | Replace byte with surrogate U+DCxx. |
+-------------------------+-----------------------------------------------+
In addition, the following error handlers are specific to a single codec:
@@ -335,7 +335,7 @@ In addition, the following error handlers are specific to a single codec:
+-------------------+---------+-------------------------------------------+
.. versionadded:: 3.1
- The ``'utf8b'`` and ``'surrogatepass'`` error handlers.
+ The ``'surrogateescape'`` and ``'surrogatepass'`` error handlers.
The set of allowed values can be extended via :meth:`register_error`.