From: Victor Stinner Date: Tue, 6 Jun 2023 14:42:49 +0000 (+0200) Subject: gh-105156: Update Unicode C API: remove deprecation (#105379) X-Git-Tag: v3.13.0a1~1878 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=04181965cfd3050f29d1f7fe7330ab933ab1fe21;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 0db052da360b..64dcea785d0c 100644 --- a/Doc/c-api/unicode.rst +++ b/Doc/c-api/unicode.rst @@ -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)