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
.. 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)