mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Fix typo in unicodeobject.c (GH-23180)
exeeds -> exceeds
Automerge-Triggered-By: GH:Mariatta
(cherry picked from commit 38811d68ca
)
Co-authored-by: Ikko Ashimine <eltociear@gmail.com>
This commit is contained in:
parent
371c33567a
commit
2a86ade9e3
1 changed files with 1 additions and 1 deletions
|
@ -1882,7 +1882,7 @@ _PyUnicode_Ready(PyObject *unicode)
|
||||||
_PyUnicode_WSTR_LENGTH(unicode) = 0;
|
_PyUnicode_WSTR_LENGTH(unicode) = 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
/* maxchar exeeds 16 bit, wee need 4 bytes for unicode characters */
|
/* maxchar exceeds 16 bit, wee need 4 bytes for unicode characters */
|
||||||
else {
|
else {
|
||||||
#if SIZEOF_WCHAR_T == 2
|
#if SIZEOF_WCHAR_T == 2
|
||||||
/* in case the native representation is 2-bytes, we need to allocate a
|
/* in case the native representation is 2-bytes, we need to allocate a
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue