diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-01-18 09:28:37 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-01-18 09:28:37 (GMT) |
commit | d3faf43f9ba7da0ae504c9186b10d0fa3a8eb300 (patch) | |
tree | 1e6ffa87d3c0087fc5bb3509bc9ef455ce98c7ff /Objects | |
parent | b2653b344e01710a99bc782a0b9e4b4d0f8eed5f (diff) | |
download | cpython-d3faf43f9ba7da0ae504c9186b10d0fa3a8eb300.zip cpython-d3faf43f9ba7da0ae504c9186b10d0fa3a8eb300.tar.gz cpython-d3faf43f9ba7da0ae504c9186b10d0fa3a8eb300.tar.bz2 |
Issue #23181: More "codepoint" -> "code point".
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 8a13f2c..216cd6a 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -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; } |