mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Revert bogus change committed in 46432 to this file.
This commit is contained in:
parent
e0df762719
commit
2e3f6b77d5
1 changed files with 0 additions and 1 deletions
|
@ -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. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue