Oops, fix my previous commit: unicode => to

This commit is contained in:
Victor Stinner 2011-09-29 00:16:58 +02:00
parent b15d4d899c
commit c17f540b7a
1 changed files with 2 additions and 2 deletions

View File

@ -642,7 +642,7 @@ PyUnicode_CopyCharacters(PyObject *to, Py_ssize_t to_start,
"Cannot modify a string having more than 1 reference");
return -1;
}
_PyUnicode_DIRTY(unicode);
_PyUnicode_DIRTY(to);
from_kind = PyUnicode_KIND(from);
to_kind = PyUnicode_KIND(to);