summaryrefslogtreecommitdiffstats
path: root/Doc/library/codecs.rst
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2009-05-10 08:08:56 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2009-05-10 08:08:56 (GMT)
commite0a2b72e61a474dceb948be57cb2983f70ab07fb (patch)
treec3b566e210699b00932039c734bfeb74e24f06f9 /Doc/library/codecs.rst
parentcf7925dfc61d770c58153fd96170192e11cf8f39 (diff)
downloadcpython-e0a2b72e61a474dceb948be57cb2983f70ab07fb.zip
cpython-e0a2b72e61a474dceb948be57cb2983f70ab07fb.tar.gz
cpython-e0a2b72e61a474dceb948be57cb2983f70ab07fb.tar.bz2
Rename the surrogates error handler to surrogatepass.
Diffstat (limited to 'Doc/library/codecs.rst')
-rw-r--r--Doc/library/codecs.rst14
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst
index 3f1a5fe..b7bd125 100644
--- a/Doc/library/codecs.rst
+++ b/Doc/library/codecs.rst
@@ -327,15 +327,15 @@ and implemented by all standard Python codecs:
In addition, the following error handlers are specific to a single codec:
-+------------------+---------+--------------------------------------------+
-| Value | Codec | Meaning |
-+==================+=========+============================================+
-| ``'surrogates'`` | utf-8 | Allow encoding and decoding of surrogate |
-| | | codes in UTF-8. |
-+------------------+---------+--------------------------------------------+
++-------------------+---------+-------------------------------------------+
+| Value | Codec | Meaning |
++===================+=========+===========================================+
+|``'surrogatepass'``| utf-8 | Allow encoding and decoding of surrogate |
+| | | codes in UTF-8. |
++-------------------+---------+-------------------------------------------+
.. versionadded:: 3.1
- The ``'utf8b'`` and ``'surrogates'`` error handlers.
+ The ``'utf8b'`` and ``'surrogatepass'`` error handlers.
The set of allowed values can be extended via :meth:`register_error`.