mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
use full unicode mappings for upper/lower/title case (#12736)
Also broaden the category of characters that count as lowercase/uppercase.
This commit is contained in:
parent
9007f72db0
commit
b2bf01d824
11 changed files with 4634 additions and 1757 deletions
|
@ -318,16 +318,25 @@ 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_UNICODE Py_UNICODE_TOUPPER(Py_UNICODE ch)
|
||||
|
||||
Return the character *ch* converted to upper case.
|
||||
|
||||
.. deprecated:: 3.3
|
||||
This function uses simple case mappings.
|
||||
|
||||
|
||||
.. c:function:: Py_UNICODE Py_UNICODE_TOTITLE(Py_UNICODE 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_UNICODE ch)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue