Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 17267:42b1a699a5dd 2.0
- #121013 - stringobject.c -- "".join(u"this is a test") dumped core
| author | Moshe Zadka <moshez@math.huji.ac.il> |
|---|---|
| date | Fri, 30 Mar 2001 20:44:51 +0000 |
| parents | c2f13c395b9a |
| children | 536cc126fb9f |
line wrap: on
line diff
--- a/Objects/stringobject.c Fri Mar 30 20:26:32 2001 +0000 +++ b/Objects/stringobject.c Fri Mar 30 20:44:51 2001 +0000 @@ -835,7 +835,7 @@ 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,"
