]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-35295: Remove outdated comment. (GH-24453)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 5 Feb 2021 04:44:17 +0000 (20:44 -0800)
committerGitHub <noreply@github.com>
Fri, 5 Feb 2021 04:44:17 +0000 (20:44 -0800)
(cherry picked from commit d938816acf71a74f1bd13fdf0534b3d9ea962e44)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Include/cpython/unicodeobject.h

index 503b079db275a5dca207b602a1ffb5532b3bf887..17db79cffbc547bdb4a5567219c707aa17dd9e72 100644 (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);