From e371d5d5d125b0acdde2791d88562338a7359500 Mon Sep 17 00:00:00 2001 From: Inada Naoki Date: Fri, 13 May 2022 13:15:41 +0900 Subject: [PATCH] gh-92536: Doc update about Py_UNICODE removal (GH-92756) --- Doc/c-api/arg.rst | 4 ++-- Doc/c-api/unicode.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index 6d0ad395540..d9cabf90f8e 100644 --- a/Doc/c-api/arg.rst +++ b/Doc/c-api/arg.rst @@ -206,8 +206,8 @@ which disallows mutable objects such as :class:`bytearray`. encoding passed in as parameter. .. versionchanged:: 3.12 - ``u``, ``u#``, ``Z``, and ``Z#`` are removed because they used legacy ``Py_UNICODE*`` - representation. + ``u``, ``u#``, ``Z``, and ``Z#`` are removed because they used a legacy + ``Py_UNICODE*`` representation. Numbers diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 8fab3b72582..6acd7ba7908 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -92,7 +92,7 @@ access to internal read-only data of Unicode objects: .. versionadded:: 3.3 .. deprecated:: 3.10 - This API do nothing since Python 3.12. Please remove code using this function. + This API does nothing since Python 3.12. .. c:function:: Py_ssize_t PyUnicode_GET_LENGTH(PyObject *o)