summaryrefslogtreecommitdiffstats
path: root/Objects/stringlib
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-06-01 07:18:09 (GMT)
committerGitHub <noreply@github.com>2023-06-01 07:18:09 (GMT)
commit7d07e5891d2843f269fac00dc8847abfe3671765 (patch)
tree0dca70aca596fddbc634dfd870e358dbdb329007 /Objects/stringlib
parent424049cc1117d66dfa86196ee5f694c15b46ac6c (diff)
downloadcpython-7d07e5891d2843f269fac00dc8847abfe3671765.zip
cpython-7d07e5891d2843f269fac00dc8847abfe3671765.tar.gz
cpython-7d07e5891d2843f269fac00dc8847abfe3671765.tar.bz2
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.
Diffstat (limited to 'Objects/stringlib')
-rw-r--r--Objects/stringlib/README.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/stringlib/README.txt b/Objects/stringlib/README.txt
index e1e3292..26f3d02 100644
--- a/Objects/stringlib/README.txt
+++ b/Objects/stringlib/README.txt
@@ -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()