summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-03-24 21:04:10 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2008-03-24 21:04:10 (GMT)
commitfac02faed86989b46dd7271c172582d50b64c09c (patch)
tree69aab5c12b1ad9a6bea04df154696e8e6dd7bec7 /Objects
parenta113bd9f69d07568494e54c0f8150fe14c79e413 (diff)
downloadcpython-fac02faed86989b46dd7271c172582d50b64c09c.zip
cpython-fac02faed86989b46dd7271c172582d50b64c09c.tar.gz
cpython-fac02faed86989b46dd7271c172582d50b64c09c.tar.bz2
Issue2469: Correct a typo I introduced at r61793: compilation error with UCS4 builds.
All buildbots compile with UCS2...
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c
index 4df9fd8..68df57d 100644
--- a/Objects/unicodeobject.c
+++ b/Objects/unicodeobject.c
@@ -3095,7 +3095,7 @@ PyObject *PyUnicode_DecodeRawUnicodeEscape(const char *s,
/* UCS-4 character. Either store directly, or as
surrogate pair. */
#ifdef Py_UNICODE_WIDE
- *p++ = (Py_UNIC0DE) x;
+ *p++ = (Py_UNICODE) x;
#else
x -= 0x10000L;
*p++ = 0xD800 + (Py_UNICODE) (x >> 10);