Fixed typos in comments.
diff --git a/Objects/stringlib/codecs.h b/Objects/stringlib/codecs.h
index cd5d944..0fc6b58 100644
--- a/Objects/stringlib/codecs.h
+++ b/Objects/stringlib/codecs.h
@@ -660,7 +660,7 @@
if (ch < 0xd800)
*out++ = ch;
else if (ch < 0xe000)
- /* reject surrogate characters (U+DC800-U+DFFF) */
+ /* reject surrogate characters (U+D800-U+DFFF) */
goto fail;
#if STRINGLIB_MAX_CHAR >= 0x10000
else if (ch >= 0x10000) {
@@ -695,7 +695,7 @@
if (ch < 0xd800)
*out++ = SWAB2((Py_UCS2)ch);
else if (ch < 0xe000)
- /* reject surrogate characters (U+DC800-U+DFFF) */
+ /* reject surrogate characters (U+D800-U+DFFF) */
goto fail;
#if STRINGLIB_MAX_CHAR >= 0x10000
else if (ch >= 0x10000) {
@@ -760,7 +760,7 @@
ch = *in++;
#if STRINGLIB_SIZEOF_CHAR > 1
if (Py_UNICODE_IS_SURROGATE(ch)) {
- /* reject surrogate characters (U+DC800-U+DFFF) */
+ /* reject surrogate characters (U+D800-U+DFFF) */
goto fail;
}
#endif
@@ -788,7 +788,7 @@
Py_UCS4 ch = *in++;
#if STRINGLIB_SIZEOF_CHAR > 1
if (Py_UNICODE_IS_SURROGATE(ch)) {
- /* reject surrogate characters (U+DC800-U+DFFF) */
+ /* reject surrogate characters (U+D800-U+DFFF) */
goto fail;
}
#endif