Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
gh-105156: Update Unicode C API: remove deprecation
_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.
  • Loading branch information
vstinner committed Jun 6, 2023
commit 0d7deb0312cb5c841205e6d34a9449f3819a4430
9 changes: 0 additions & 9 deletions Doc/c-api/unicode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down