]> granicus.if.org Git - python/commitdiff
Remove redundant sentence from c-api docs (issue #16323)
authorAndrew Svetlov <andrew.svetlov@gmail.com>
Thu, 29 Nov 2012 13:23:15 +0000 (15:23 +0200)
committerAndrew Svetlov <andrew.svetlov@gmail.com>
Thu, 29 Nov 2012 13:23:15 +0000 (15:23 +0200)
Doc/c-api/unicode.rst

index ea635b1592c51810273ab959606b2fffded87cc0..89bd14830191a678c72be8565a43e94b7486d66d 100644 (file)
@@ -742,10 +742,7 @@ system.
    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::