]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-92536: Doc update about Py_UNICODE removal (GH-92756)
authorInada Naoki <songofacandy@gmail.com>
Fri, 13 May 2022 04:15:41 +0000 (13:15 +0900)
committerGitHub <noreply@github.com>
Fri, 13 May 2022 04:15:41 +0000 (13:15 +0900)
Doc/c-api/arg.rst
Doc/c-api/unicode.rst

index 6d0ad395540aaf098793ac31e87e275f658594a4..d9cabf90f8e29b1edb3f4b312589e9a54d77b526 100644 (file)
@@ -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
index 8fab3b7258276e85e39868ede59261dc3a01f4f6..6acd7ba790842bd4d2adb52cb878f5f51a1eee05 100644 (file)
@@ -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)