mirror of
https://github.com/python/cpython.git
synced 2025-08-27 20:25:18 +00:00
Issue #23181: More "codepoint" -> "code point".
This commit is contained in:
parent
b2653b344e
commit
d3faf43f9b
24 changed files with 46 additions and 46 deletions
|
@ -5048,7 +5048,7 @@ PyUnicode_DecodeUTF32Stateful(const char *s,
|
|||
}
|
||||
|
||||
if (Py_UNICODE_IS_SURROGATE(ch)) {
|
||||
errmsg = "codepoint in surrogate code point range(0xd800, 0xe000)";
|
||||
errmsg = "code point in surrogate code point range(0xd800, 0xe000)";
|
||||
startinpos = ((const char *)q) - starts;
|
||||
endinpos = startinpos + 4;
|
||||
}
|
||||
|
@ -5067,7 +5067,7 @@ PyUnicode_DecodeUTF32Stateful(const char *s,
|
|||
q += 4;
|
||||
continue;
|
||||
}
|
||||
errmsg = "codepoint not in range(0x110000)";
|
||||
errmsg = "code point not in range(0x110000)";
|
||||
startinpos = ((const char *)q) - starts;
|
||||
endinpos = startinpos + 4;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue