From: Inada Naoki Date: Fri, 5 Feb 2021 04:21:28 +0000 (+0900) Subject: bpo-35295: Remove outdated comment. (GH-24453) X-Git-Tag: v3.10.0a6~118 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d938816acf71a74f1bd13fdf0534b3d9ea962e44;p=thirdparty%2FPython%2Fcpython.git bpo-35295: Remove outdated comment. (GH-24453) --- diff --git a/Include/cpython/unicodeobject.h b/Include/cpython/unicodeobject.h index a4057fd2a13e..30bf994cda35 100644 --- a/Include/cpython/unicodeobject.h +++ b/Include/cpython/unicodeobject.h @@ -737,13 +737,6 @@ PyAPI_FUNC(int) _PyUnicode_FormatAdvancedWriter( 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);