mirror of
https://github.com/python/cpython.git
synced 2025-10-14 10:53:40 +00:00
merge 3.3 (#20507)
This commit is contained in:
commit
4267869ad8
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue