From 2ccda8a7c4b983c0b8776db570383911af26ee91 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 27 Nov 2000 18:46:26 +0000 Subject: [PATCH] SF patch #102548, fix for bug #121013, by mwh@users.sourceforge.net. Fixes a typo that caused "".join(u"this is a test") to dump core. --- Objects/stringobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/stringobject.c b/Objects/stringobject.c index 757c1c4da4b..31d1b05c603 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -835,7 +835,7 @@ string_join(PyStringObject *self, PyObject *args) if (PyUnicode_Check(item)) { Py_DECREF(res); Py_DECREF(seq); - return PyUnicode_Join((PyObject *)self, seq); + return PyUnicode_Join((PyObject *)self, orig); } PyErr_Format(PyExc_TypeError, "sequence item %i: expected string,"