mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
parent
0ad475e9b9
commit
22d60d62e6
1 changed files with 0 additions and 4 deletions
|
@ -1869,10 +1869,6 @@ unicode_copycharacters(PyObject *self, PyObject *args)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
if (PyUnicode_READY(to) < 0) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (!(to_copy = PyUnicode_New(PyUnicode_GET_LENGTH(to),
|
||||
PyUnicode_MAX_CHAR_VALUE(to)))) {
|
||||
return NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue