From c17f540b7a370b2860c183c97787d28aa6c7ccf3 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Thu, 29 Sep 2011 00:16:58 +0200 Subject: Oops, fix my previous commit: unicode => to --- Objects/unicodeobject.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 7a7f1d2..c6dcb58 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -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); @@ -4881,7 +4881,7 @@ static _PyUnicode_Name_CAPI *ucnhash_CAPI = NULL; PyObject * PyUnicode_DecodeUnicodeEscape(const char *s, Py_ssize_t size, - const char *errors) + const char *errors) { const char *starts = s; Py_ssize_t startinpos; -- cgit v0.12