summaryrefslogtreecommitdiffstats
path: root/Objects/unicodeobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r--Objects/unicodeobject.c4
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;
}