diff -r fc6f757e53de Doc/c-api/unicode.rst --- a/Doc/c-api/unicode.rst Sat Nov 19 19:17:46 2016 -0800 +++ b/Doc/c-api/unicode.rst Sun Nov 20 21:38:09 2016 +0800 @@ -1297,14 +1297,14 @@ .. c:function:: PyObject* PyUnicode_AsUnicodeEscapeString(PyObject *unicode) Encode a Unicode object using Unicode-Escape and return the result as Python - string object. Error handling is "strict". Return *NULL* if an exception was + bytes object. Error handling is "strict". Return *NULL* if an exception was raised by the codec. .. c:function:: PyObject* PyUnicode_EncodeUnicodeEscape(const Py_UNICODE *s, Py_ssize_t size) Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Unicode-Escape and - return a Python string object. Return *NULL* if an exception was raised by the + return a Python bytes object. Return *NULL* if an exception was raised by the codec. .. deprecated-removed:: 3.3 4.0 @@ -1328,7 +1328,7 @@ .. c:function:: PyObject* PyUnicode_AsRawUnicodeEscapeString(PyObject *unicode) Encode a Unicode object using Raw-Unicode-Escape and return the result as - Python string object. Error handling is "strict". Return *NULL* if an exception + Python bytes object. Error handling is "strict". Return *NULL* if an exception was raised by the codec. @@ -1336,7 +1336,7 @@ Py_ssize_t size, const char *errors) Encode the :c:type:`Py_UNICODE` buffer of the given *size* using Raw-Unicode-Escape - and return a Python string object. Return *NULL* if an exception was raised by + and return a Python bytes object. Return *NULL* if an exception was raised by the codec. .. deprecated-removed:: 3.3 4.0