diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2009-05-10 08:08:56 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2009-05-10 08:08:56 (GMT) |
commit | e0a2b72e61a474dceb948be57cb2983f70ab07fb (patch) | |
tree | c3b566e210699b00932039c734bfeb74e24f06f9 /Doc | |
parent | cf7925dfc61d770c58153fd96170192e11cf8f39 (diff) | |
download | cpython-e0a2b72e61a474dceb948be57cb2983f70ab07fb.zip cpython-e0a2b72e61a474dceb948be57cb2983f70ab07fb.tar.gz cpython-e0a2b72e61a474dceb948be57cb2983f70ab07fb.tar.bz2 |
Rename the surrogates error handler to surrogatepass.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/codecs.rst | 14 |
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`. |