This commit is contained in:
Benjamin Peterson 2014-02-15 13:03:20 -05:00
commit 4267869ad8

View file

@ -9666,7 +9666,7 @@ PyUnicode_Join(PyObject *separator, PyObject *seq)
PyObject *last_obj; PyObject *last_obj;
unsigned int kind = 0; unsigned int kind = 0;
fseq = PySequence_Fast(seq, ""); fseq = PySequence_Fast(seq, "can only join an iterable");
if (fseq == NULL) { if (fseq == NULL) {
return NULL; return NULL;
} }