diff --git a/Doc/c-api/arg.rst b/Doc/c-api/arg.rst index 6d0ad395540aaf..d9cabf90f8e29b 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 8fab3b7258276e..6acd7ba790842b 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)