diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-18 19:19:42 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-05-18 19:19:42 (GMT) |
commit | 7e29eea9266ab465ac0b7248bcca965bfa3fa737 (patch) | |
tree | 5ae2ba6a46d5b0db9d3340e261a9f5007ea9da91 /Objects/stringlib | |
parent | 5bf3120e244575189cb7090a0fb6026036f1f979 (diff) | |
download | cpython-7e29eea9266ab465ac0b7248bcca965bfa3fa737.zip cpython-7e29eea9266ab465ac0b7248bcca965bfa3fa737.tar.gz cpython-7e29eea9266ab465ac0b7248bcca965bfa3fa737.tar.bz2 |
Fixed typos in comments.
Diffstat (limited to 'Objects/stringlib')
-rw-r--r-- | Objects/stringlib/codecs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/stringlib/codecs.h b/Objects/stringlib/codecs.h index 2eb2d14..ee1bf2b 100644 --- a/Objects/stringlib/codecs.h +++ b/Objects/stringlib/codecs.h @@ -660,7 +660,7 @@ STRINGLIB(utf16_encode)(const STRINGLIB_CHAR *in, 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 @@ STRINGLIB(utf16_encode)(const STRINGLIB_CHAR *in, 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) { |