diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-05-27 11:07:49 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-05-27 11:07:49 (GMT) |
commit | 2e3f6b77d5278abf399029dd64240329ad71f5b2 (patch) | |
tree | 9ee4136e237b0cb212e72520a53fdd05c3f0900a /Objects/unicodeobject.c | |
parent | e0df7627191e367ad0496f582d2aa298b3c11848 (diff) | |
download | cpython-2e3f6b77d5278abf399029dd64240329ad71f5b2.zip cpython-2e3f6b77d5278abf399029dd64240329ad71f5b2.tar.gz cpython-2e3f6b77d5278abf399029dd64240329ad71f5b2.tar.bz2 |
Revert bogus change committed in 46432 to this file.
Diffstat (limited to 'Objects/unicodeobject.c')
-rw-r--r-- | Objects/unicodeobject.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index d37ca0c..1711b2d 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -2376,7 +2376,6 @@ PyObject *_PyUnicode_DecodeUnicodeInternal(const char *s, end = s + size; while (s < end) { - *p = *(Py_UNICODE*)s; memcpy(p, s, sizeof(Py_UNICODE)); /* We have to sanity check the raw data, otherwise doom looms for some malformed UCS-4 data. */ |