summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2020-03-14 13:29:03 +0900
committerGitHub <noreply@github.com>2020-03-14 13:29:03 +0900
commit27f6a756e0f1e39e437da2c25b658f3629ed8c86 (patch)
treee8c7f6e5f281f6b009514c7c9800ed5085c1a2ed
parentfd841666fe78be7a34150dfa3508458caeff01ca (diff)
downloadcpython-git-revert-17659-utf8-buffer.tar.gz
Update unicodeobject.hrevert-17659-utf8-buffer
-rw-r--r--Include/cpython/unicodeobject.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/Include/cpython/unicodeobject.h b/Include/cpython/unicodeobject.h
index 54a13e32ba..0df64790c1 100644
--- a/Include/cpython/unicodeobject.h
+++ b/Include/cpython/unicodeobject.h
@@ -746,12 +746,6 @@ PyAPI_FUNC(void*) _PyUnicode_AsKind(PyObject *s, unsigned int kind);
_PyUnicode_AsStringAndSize is a #define for PyUnicode_AsUTF8AndSize to
support the previous internal function with the same behaviour.
-
- *** This API is for interpreter INTERNAL USE ONLY and will likely
- *** be removed or changed in the future.
-
- *** If you need to access the Unicode object as UTF-8 bytes string,
- *** please use PyUnicode_AsUTF8String() instead.
*/
PyAPI_FUNC(const char *) PyUnicode_AsUTF8AndSize(