Skip to content

Commit 0418196

Browse files
authored
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.
1 parent 0cb6b9b commit 0418196

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Doc/c-api/unicode.rst

-9
Original file line numberDiff line numberDiff line change
@@ -272,25 +272,16 @@ These APIs can be used for fast direct character conversions:
272272
273273
Return the character *ch* converted to lower case.
274274
275-
.. deprecated:: 3.3
276-
This function uses simple case mappings.
277-
278275
279276
.. c:function:: Py_UCS4 Py_UNICODE_TOUPPER(Py_UCS4 ch)
280277
281278
Return the character *ch* converted to upper case.
282279
283-
.. deprecated:: 3.3
284-
This function uses simple case mappings.
285-
286280
287281
.. c:function:: Py_UCS4 Py_UNICODE_TOTITLE(Py_UCS4 ch)
288282
289283
Return the character *ch* converted to title case.
290284
291-
.. deprecated:: 3.3
292-
This function uses simple case mappings.
293-
294285
295286
.. c:function:: int Py_UNICODE_TODECIMAL(Py_UCS4 ch)
296287

0 commit comments

Comments
 (0)