summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2021-02-05 04:44:17 (GMT)
committerGitHub <noreply@github.com>2021-02-05 04:44:17 (GMT)
commitb0b01811bb28d3d6c70846e47fa2f6ba03ed03f1 (patch)
treea3cc54f11c48aa112cbaed4137150c817f63dedd /Include
parent29584aa6acbc70091dc23636db51ee1696e65072 (diff)
downloadcpython-b0b01811bb28d3d6c70846e47fa2f6ba03ed03f1.zip
cpython-b0b01811bb28d3d6c70846e47fa2f6ba03ed03f1.tar.gz
cpython-b0b01811bb28d3d6c70846e47fa2f6ba03ed03f1.tar.bz2
bpo-35295: Remove outdated comment. (GH-24453)
(cherry picked from commit d938816acf71a74f1bd13fdf0534b3d9ea962e44) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/unicodeobject.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/Include/cpython/unicodeobject.h b/Include/cpython/unicodeobject.h
index 503b079..17db79c 100644
--- a/Include/cpython/unicodeobject.h
+++ b/Include/cpython/unicodeobject.h
@@ -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);