http://hg.python.org/cpython/rev/5a75ce7e5d49 changeset: 74238:5a75ce7e5d49 user: Benjamin Peterson <benjamin at python.org> date: Mon Jan 02 09:07:38 2012 -0600 summary: ready the correct string files: Objects/unicodeobject.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -9139,7 +9139,7 @@ Py_DECREF(str_obj); return -1; } - if (PyUnicode_READY(substr) == -1 || PyUnicode_READY(str_obj) == -1) { + if (PyUnicode_READY(sub_obj) == -1 || PyUnicode_READY(str_obj) == -1) { Py_DECREF(substr); Py_DECREF(str_obj); return -1; -- Repository URL: http://hg.python.org/cpython