gh-92536: Doc update about Py_UNICODE removal (GH-92756)

This commit is contained in:
Inada Naoki 2022-05-13 13:15:41 +09:00 committed by GitHub
parent 4e28377722
commit e371d5d5d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -206,8 +206,8 @@ which disallows mutable objects such as :class:`bytearray`.
encoding passed in as parameter. encoding passed in as parameter.
.. versionchanged:: 3.12 .. versionchanged:: 3.12
``u``, ``u#``, ``Z``, and ``Z#`` are removed because they used legacy ``Py_UNICODE*`` ``u``, ``u#``, ``Z``, and ``Z#`` are removed because they used a legacy
representation. ``Py_UNICODE*`` representation.
Numbers Numbers

View File

@ -92,7 +92,7 @@ access to internal read-only data of Unicode objects:
.. versionadded:: 3.3 .. versionadded:: 3.3
.. deprecated:: 3.10 .. 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) .. c:function:: Py_ssize_t PyUnicode_GET_LENGTH(PyObject *o)