gh-105156: Update Unicode C API: remove deprecation (#105379)

_PyUnicode_ToLowercase(), _PyUnicode_ToUppercase(),
_PyUnicode_ToTitlecase() are no longer deprecated in the
documentation. It's no longer needed since they now use Py_UCS4 type,
rather than the deprecated Py_UNICODE type.
This commit is contained in:
Victor Stinner 2023-06-06 16:42:49 +02:00 committed by GitHub
parent 0cb6b9b0db
commit 04181965cf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -272,25 +272,16 @@ These APIs can be used for fast direct character conversions:
Return the character *ch* converted to lower case.
.. deprecated:: 3.3
This function uses simple case mappings.
.. c:function:: Py_UCS4 Py_UNICODE_TOUPPER(Py_UCS4 ch)
Return the character *ch* converted to upper case.
.. deprecated:: 3.3
This function uses simple case mappings.
.. c:function:: Py_UCS4 Py_UNICODE_TOTITLE(Py_UCS4 ch)
Return the character *ch* converted to title case.
.. deprecated:: 3.3
This function uses simple case mappings.
.. c:function:: int Py_UNICODE_TODECIMAL(Py_UCS4 ch)