mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00: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:
parent
424049cc11
commit
7d07e5891d
4 changed files with 27 additions and 53 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue