[Python-checkins] cpython (3.3): Remove redundant sentence from c-api docs (issue #16323)

andrew.svetlov python-checkins at python.org
Thu Nov 29 14:23:56 CET 2012


http://hg.python.org/cpython/rev/af45e9ec35f0
changeset: 80652:af45e9ec35f0
branch: 3.3
parent: 80649:80749ddc30b6
user: Andrew Svetlov <andrew.svetlov at gmail.com>
date: Thu Nov 29 15:23:15 2012 +0200
summary:
 Remove redundant sentence from c-api docs (issue #16323)
files:
 Doc/c-api/unicode.rst | 5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst
--- a/Doc/c-api/unicode.rst
+++ b/Doc/c-api/unicode.rst
@@ -742,10 +742,7 @@
 Decode a string from the current locale encoding. The supported
 error handlers are ``"strict"`` and ``"surrogateescape"``
 (:pep:`383`). The decoder uses ``"strict"`` error handler if
- *errors* is ``NULL``. If a byte sequence can be decoded as a
- surrogate character and *errors* is not ``"strict"``, then the byte
- sequence is escaped using the ``"surrogateescape"`` error handler
- instead of being decoded. *str* must end with a null character but
+ *errors* is ``NULL``. *str* must end with a null character but
 cannot contain embedded null characters.
 
 .. seealso::
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /