mirror of
https://github.com/python/cpython.git
synced 2025-08-11 20:40:27 +00:00
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:
parent
0cb6b9b0db
commit
04181965cf
1 changed files with 0 additions and 9 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue