diff options
author | Inada Naoki <songofacandy@gmail.com> | 2020-03-14 13:29:03 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-14 13:29:03 +0900 |
commit | 27f6a756e0f1e39e437da2c25b658f3629ed8c86 (patch) | |
tree | e8c7f6e5f281f6b009514c7c9800ed5085c1a2ed /Include/cpython/unicodeobject.h | |
parent | fd841666fe78be7a34150dfa3508458caeff01ca (diff) | |
download | cpython-git-revert-17659-utf8-buffer.tar.gz |
Update unicodeobject.hrevert-17659-utf8-buffer
Diffstat (limited to 'Include/cpython/unicodeobject.h')
-rw-r--r-- | Include/cpython/unicodeobject.h | 6 |
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( |