]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-105156: Update Unicode C API: remove deprecation (#105379)
authorVictor Stinner <vstinner@python.org>
Tue, 6 Jun 2023 14:42:49 +0000 (16:42 +0200)
committerGitHub <noreply@github.com>
Tue, 6 Jun 2023 14:42:49 +0000 (16:42 +0200)
_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.

Doc/c-api/unicode.rst

index 0db052da360ba34457739431f50779f10f79b82d..64dcea785d0c68e8b81f395941d24ee9843f445d 100644 (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)