mirror of
https://github.com/python/cpython.git
synced 2026-05-06 12:49:07 -04:00
gh-105156: Cleanup usage of old Py_UNICODE type (#105158)
* refcounts.dat: * Remove Py_UNICODE functions. * Replace Py_UNICODE argument type with wchar_t. * _PyUnicode_ToLowercase(), _PyUnicode_ToUppercase(), _PyUnicode_ToTitlecase() are no longer deprecated in comments. It's no longer needed since they now use Py_UCS4 type, rather than the deprecated Py_UNICODE type. * gdb: Remove unused char_width() method.
This commit is contained in:
@@ -9,7 +9,7 @@ the following defines used by the different modules:
|
||||
|
||||
STRINGLIB_CHAR
|
||||
|
||||
the type used to hold a character (char or Py_UNICODE)
|
||||
the type used to hold a character (char, Py_UCS1, Py_UCS2 or Py_UCS4)
|
||||
|
||||
STRINGLIB_GET_EMPTY()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user