From: Inada Naoki Date: Fri, 13 May 2022 04:15:41 +0000 (+0900) Subject: gh-92536: Doc update about Py_UNICODE removal (GH-92756) X-Git-Tag: v3.12.0a1~1557 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e371d5d5d125b0acdde2791d88562338a7359500;p=thirdparty%2FPython%2Fcpython.git gh-92536: Doc update about Py_UNICODE removal (GH-92756) --- diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index 6d0ad395540a..d9cabf90f8e2 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 8fab3b725827..6acd7ba79084 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)