diff options
author | Victor Stinner <vstinner@python.org> | 2023-06-06 14:42:49 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-06 14:42:49 (GMT) |
commit | 04181965cfd3050f29d1f7fe7330ab933ab1fe21 (patch) | |
tree | db6f03cff8019b8767761eb72138a206958f8f45 | |
parent | 0cb6b9b0db5df6b3f902e86eb3d4a1e504afb851 (diff) | |
download | cpython-04181965cfd3050f29d1f7fe7330ab933ab1fe21.zip cpython-04181965cfd3050f29d1f7fe7330ab933ab1fe21.tar.gz cpython-04181965cfd3050f29d1f7fe7330ab933ab1fe21.tar.bz2 |
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.
-rw-r--r-- | Doc/c-api/unicode.rst | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Doc/c-api/unicode.rst b/Doc/c-api/unicode.rst index 0db052d..64dcea7 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) |