bpo-35295: Remove outdated comment. (GH-24453)

(cherry picked from commit d938816acf)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
This commit is contained in:
Miss Islington (bot) 2021-02-04 20:44:17 -08:00 committed by GitHub
parent 29584aa6ac
commit b0b01811bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -760,13 +760,6 @@ PyAPI_FUNC(const char *) PyUnicode_AsUTF8AndSize(
Use of this API is DEPRECATED since no size information can be
extracted from the returned data.
*** This API is for interpreter INTERNAL USE ONLY and will likely
*** be removed or changed for Python 3.1.
*** If you need to access the Unicode object as UTF-8 bytes string,
*** please use PyUnicode_AsUTF8String() instead.
*/
PyAPI_FUNC(const char *) PyUnicode_AsUTF8(PyObject *unicode);