Mercurial > cpython-lru_cache-weakref
diff Objects/stringobject.c @ 15435:fb10937060cc legacy-trunk
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.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Mon, 27 Nov 2000 18:46:26 +0000 |
| parents | 8aa947e1eee8 |
| children | d0146d128897 |
line wrap: on
line diff
--- a/Objects/stringobject.c Mon Nov 27 06:38:04 2000 +0000 +++ b/Objects/stringobject.c Mon Nov 27 18:46:26 2000 +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,"
