diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-05-27 11:07:49 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-05-27 11:07:49 +0000 |
commit | da361a88553a56cbc25314af52c5d204e39a0764 (patch) | |
tree | a3e280eab1194c9b61171967d96f565e0b012c4a /Objects/unicodeobject.c | |
parent | eb2f6ff7f86410e0f27812c070f3d8d7e61f213b (diff) | |
download | cpython-da361a88553a56cbc25314af52c5d204e39a0764.tar.gz |
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 d37ca0c3a5..1711b2db73 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. */ |