mirror of https://github.com/python/cpython
gh-92536: Doc update about Py_UNICODE removal (GH-92756)
This commit is contained in:
parent
4e28377722
commit
e371d5d5d1
|
@ -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
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue