Issue #28379: Removed redundant check.

Patch by Xiang Zhang.
This commit is contained in:
Serhiy Storchaka 2016-10-09 15:37:43 +03:00
parent 0ad475e9b9
commit 22d60d62e6
1 changed files with 0 additions and 4 deletions

View File

@ -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;